X-Git-Url: http://gitweb.michael.orlitzky.com/?p=numerical-analysis.git;a=blobdiff_plain;f=src%2FIntegration%2FGaussian.hs;h=6eb46f6683a9c58d0105da1f1519d732c53bdd64;hp=be92e5c8bdfd85e232cee5db3b1d57b7ce7675b1;hb=46f18f6dd356db75b77bd95a15260c7c1a817bff;hpb=9ef91ad4ec3a5c0966f0850d40310722b6c38b68 diff --git a/src/Integration/Gaussian.hs b/src/Integration/Gaussian.hs index be92e5c..6eb46f6 100644 --- a/src/Integration/Gaussian.hs +++ b/src/Integration/Gaussian.hs @@ -24,13 +24,13 @@ import Linear.Matrix ( Col, Col10, Mat(..), - colzipwith, construct, fromList, identity_matrix, map2, row, - transpose ) + transpose, + zipwith2 ) import Linear.QR ( eigenvectors_symmetric ) import Normed ( Normed(..) ) @@ -213,4 +213,4 @@ gaussian' f nodes weights = norm_p (1::Int) weighted_values where function_values = map2 f nodes - weighted_values = colzipwith (*) weights function_values + weighted_values = zipwith2 (*) weights function_values