summaryrefslogtreecommitdiff
path: root/lib/Data
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Data')
-rw-r--r--lib/Data/Packed.hs10
-rw-r--r--lib/Data/Packed/Random.hs7
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.
16module Data.Packed ( 16module 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
23import Data.Packed.Vector 24import Data.Packed.Vector
24import Data.Packed.Matrix 25import Data.Packed.Matrix
25import Data.Packed.Random 26--import Data.Packed.Random
26import 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
22import Numeric.GSL.Vector 22import Numeric.GSL.Vector
23import Data.Packed.Matrix 23import Data.Packed
24import Numeric.Vector 24import Numeric.Container
25import Numeric.LinearAlgebra.Linear 25import Data.Packed.Internal(constantD)
26import Numeric.LinearAlgebra.Algorithms 26import Numeric.LinearAlgebra.Algorithms
27 27
28constant 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.