diff options
Diffstat (limited to 'lib/Data')
-rw-r--r-- | lib/Data/Packed.hs | 10 | ||||
-rw-r--r-- | lib/Data/Packed/Random.hs | 7 |
2 files changed, 10 insertions, 7 deletions
diff --git a/lib/Data/Packed.hs b/lib/Data/Packed.hs index 8128667..bfc2d8b 100644 --- a/lib/Data/Packed.hs +++ b/lib/Data/Packed.hs | |||
@@ -16,11 +16,13 @@ The Vector and Matrix types and some utilities. | |||
16 | module Data.Packed ( | 16 | module Data.Packed ( |
17 | module Data.Packed.Vector, | 17 | module Data.Packed.Vector, |
18 | module Data.Packed.Matrix, | 18 | module Data.Packed.Matrix, |
19 | module Data.Packed.Random, | 19 | -- module Numeric.Conversion, |
20 | module Data.Complex | 20 | -- module Data.Packed.Random, |
21 | -- module Data.Complex | ||
21 | ) where | 22 | ) where |
22 | 23 | ||
23 | import Data.Packed.Vector | 24 | import Data.Packed.Vector |
24 | import Data.Packed.Matrix | 25 | import Data.Packed.Matrix |
25 | import Data.Packed.Random | 26 | --import Data.Packed.Random |
26 | import Data.Complex | 27 | --import Data.Complex |
28 | --import Numeric.Conversion \ No newline at end of file | ||
diff --git a/lib/Data/Packed/Random.hs b/lib/Data/Packed/Random.hs index 0bc5350..b30b299 100644 --- a/lib/Data/Packed/Random.hs +++ b/lib/Data/Packed/Random.hs | |||
@@ -20,11 +20,12 @@ module Data.Packed.Random ( | |||
20 | ) where | 20 | ) where |
21 | 21 | ||
22 | import Numeric.GSL.Vector | 22 | import Numeric.GSL.Vector |
23 | import Data.Packed.Matrix | 23 | import Data.Packed |
24 | import Numeric.Vector | 24 | import Numeric.Container |
25 | import Numeric.LinearAlgebra.Linear | 25 | import Data.Packed.Internal(constantD) |
26 | import Numeric.LinearAlgebra.Algorithms | 26 | import Numeric.LinearAlgebra.Algorithms |
27 | 27 | ||
28 | constant k v = constantD k v | ||
28 | 29 | ||
29 | -- | Obtains a matrix whose rows are pseudorandom samples from a multivariate | 30 | -- | Obtains a matrix whose rows are pseudorandom samples from a multivariate |
30 | -- Gaussian distribution. | 31 | -- Gaussian distribution. |