]> gitweb.michael.orlitzky.com - numerical-analysis.git/blobdiff - src/Integration/Gaussian.hs
Remove the "row" function which returned a vector instead of a matrix.
[numerical-analysis.git] / src / Integration / Gaussian.hs
index 38214a0a5be7468b0b061e484ca0bb16d01556ff..be92e5c8bdfd85e232cee5db3b1d57b7ce7675b1 100644 (file)
@@ -29,7 +29,7 @@ import Linear.Matrix (
   fromList,
   identity_matrix,
   map2,
-  row',
+  row,
   transpose )
 import Linear.QR ( eigenvectors_symmetric )
 import Normed ( Normed(..) )
@@ -119,7 +119,7 @@ nodes_and_weights iterations =
     nodes = shifted_nodes + ones -- unshift the nodes
 
     -- Get the first component of each column.
-    first_components = row' vecs 0
+    first_components = row vecs 0
 
     -- Square it and multiply by 2; see the Golub-Welsch paper for
     -- this magic.