diff options
Diffstat (limited to 'packages/hmatrix/src/Numeric/Container.hs')
-rw-r--r-- | packages/hmatrix/src/Numeric/Container.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/hmatrix/src/Numeric/Container.hs b/packages/hmatrix/src/Numeric/Container.hs index 645a83f..e7f23d4 100644 --- a/packages/hmatrix/src/Numeric/Container.hs +++ b/packages/hmatrix/src/Numeric/Container.hs | |||
@@ -66,11 +66,11 @@ module Numeric.Container ( | |||
66 | 66 | ||
67 | import Data.Packed hiding (stepD, stepF, condD, condF, conjugateC, conjugateQ) | 67 | import Data.Packed hiding (stepD, stepF, condD, condF, conjugateC, conjugateQ) |
68 | import Data.Packed.Numeric | 68 | import Data.Packed.Numeric |
69 | import Numeric.Chain | ||
70 | import Numeric.IO | 69 | import Numeric.IO |
71 | import Data.Complex | 70 | import Data.Complex |
72 | import Numeric.LinearAlgebra.Algorithms(Field,linearSolveSVD) | 71 | import Numeric.LinearAlgebra.Algorithms(Field,linearSolveSVD) |
73 | import Numeric.Random | 72 | import Numeric.Random |
73 | import Data.Monoid(Monoid(mconcat)) | ||
74 | 74 | ||
75 | ------------------------------------------------------------------ | 75 | ------------------------------------------------------------------ |
76 | 76 | ||
@@ -268,4 +268,8 @@ infixl 7 ◇ | |||
268 | dot :: (Container Vector t, Product t) => Vector t -> Vector t -> t | 268 | dot :: (Container Vector t, Product t) => Vector t -> Vector t -> t |
269 | dot u v = udot (conj u) v | 269 | dot u v = udot (conj u) v |
270 | 270 | ||
271 | -------------------------------------------------------------------------------- | ||
272 | |||
273 | optimiseMult :: Monoid (Matrix t) => [Matrix t] -> Matrix t | ||
274 | optimiseMult = mconcat | ||
271 | 275 | ||