X-Git-Url: http://gitweb.michael.orlitzky.com/?p=numerical-analysis.git;a=blobdiff_plain;f=src%2FLinear%2FQR.hs;fp=src%2FLinear%2FQR.hs;h=a4fb325f96d4b510401f79d8517b6beb48b8fc79;hp=4c1c56446f836c348b1b7e65ad138fb650dd9ed3;hb=33e0d2f5682b117b3aca945aaad5ab36958fa852;hpb=84bf90406341348a41c7cc57c3d365238690a930 diff --git a/src/Linear/QR.hs b/src/Linear/QR.hs index 4c1c564..a4fb325 100644 --- a/src/Linear/QR.hs +++ b/src/Linear/QR.hs @@ -146,6 +146,8 @@ qr matrix = ifoldl col_function initial_qr columns where Mat columns = transpose matrix + + initial_qr :: (Mat (S m) (S m) a, Mat (S m) (S n) a) initial_qr = (identity_matrix, matrix) -- | Process the column and spit out the current QR