diff options
author | Alberto Ruiz <aruiz@um.es> | 2015-06-05 16:43:01 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2015-06-05 16:43:01 +0200 |
commit | 13856329ed09cd9f70f03363895545a6ca83374c (patch) | |
tree | 732d4b495e98e0d4914a4edae89fe8df190da881 /packages/base/src | |
parent | f8420df8e9f70c77a708a1eceef7340d300d4595 (diff) |
move random
Diffstat (limited to 'packages/base/src')
-rw-r--r-- | packages/base/src/Internal/Random.hs (renamed from packages/base/src/Numeric/LinearAlgebra/Random.hs) | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Random.hs b/packages/base/src/Internal/Random.hs index b66988e..c44c272 100644 --- a/packages/base/src/Numeric/LinearAlgebra/Random.hs +++ b/packages/base/src/Internal/Random.hs | |||
@@ -10,7 +10,7 @@ | |||
10 | -- | 10 | -- |
11 | ----------------------------------------------------------------------------- | 11 | ----------------------------------------------------------------------------- |
12 | 12 | ||
13 | module Numeric.LinearAlgebra.Random ( | 13 | module Internal.Random ( |
14 | Seed, | 14 | Seed, |
15 | RandDist(..), | 15 | RandDist(..), |
16 | randomVector, | 16 | randomVector, |
@@ -19,11 +19,13 @@ module Numeric.LinearAlgebra.Random ( | |||
19 | rand, randn | 19 | rand, randn |
20 | ) where | 20 | ) where |
21 | 21 | ||
22 | import Numeric.Vectorized | 22 | import Internal.Vectorized |
23 | import Data.Packed | 23 | import Internal.Vector |
24 | import Data.Packed.Internal.Numeric | 24 | import Internal.Matrix |
25 | import Numeric.LinearAlgebra.Algorithms | 25 | import Internal.Numeric |
26 | import Internal.Algorithms | ||
26 | import System.Random(randomIO) | 27 | import System.Random(randomIO) |
28 | import Data.Vector.Storable(fromList) | ||
27 | 29 | ||
28 | 30 | ||
29 | -- | Obtains a matrix whose rows are pseudorandom samples from a multivariate | 31 | -- | Obtains a matrix whose rows are pseudorandom samples from a multivariate |