summaryrefslogtreecommitdiff
path: root/packages/base/src
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2014-05-21 13:10:15 +0200
committerAlberto Ruiz <aruiz@um.es>2014-05-21 13:10:15 +0200
commit3916d70b9d170633c6122cb3c46000f0b3f32018 (patch)
tree8973c1b44200fac8c7465aa22e7bde80f3f3fced /packages/base/src
parent197e88c3b56d28840217010a2871c6ea3a4dd1a4 (diff)
Numeric.LinearAlgebra.Compat
Diffstat (limited to 'packages/base/src')
-rw-r--r--packages/base/src/Numeric/Container.hs6
-rw-r--r--packages/base/src/Numeric/LinearAlgebra/Compat.hs25
-rw-r--r--packages/base/src/Numeric/LinearAlgebra/Random.hs3
3 files changed, 33 insertions, 1 deletions
diff --git a/packages/base/src/Numeric/Container.hs b/packages/base/src/Numeric/Container.hs
index c715dac..264a619 100644
--- a/packages/base/src/Numeric/Container.hs
+++ b/packages/base/src/Numeric/Container.hs
@@ -40,6 +40,11 @@ module Numeric.Container (
40 optimiseMult, 40 optimiseMult,
41 mXm,mXv,vXm,LSDiv(..), 41 mXm,mXv,vXm,LSDiv(..),
42 outer, kronecker, 42 outer, kronecker,
43 -- * Random numbers
44 RandDist(..),
45 randomVector,
46 gaussianSample,
47 uniformSample,
43 -- * Element conversion 48 -- * Element conversion
44 Convert(..), 49 Convert(..),
45 Complexable(), 50 Complexable(),
@@ -59,6 +64,7 @@ import Data.Complex
59import Numeric.LinearAlgebra.Algorithms(Field,linearSolveSVD) 64import Numeric.LinearAlgebra.Algorithms(Field,linearSolveSVD)
60import Data.Monoid(Monoid(mconcat)) 65import Data.Monoid(Monoid(mconcat))
61import Data.Packed.IO 66import Data.Packed.IO
67import Numeric.LinearAlgebra.Random
62 68
63------------------------------------------------------------------ 69------------------------------------------------------------------
64 70
diff --git a/packages/base/src/Numeric/LinearAlgebra/Compat.hs b/packages/base/src/Numeric/LinearAlgebra/Compat.hs
new file mode 100644
index 0000000..7b43365
--- /dev/null
+++ b/packages/base/src/Numeric/LinearAlgebra/Compat.hs
@@ -0,0 +1,25 @@
1-----------------------------------------------------------------------------
2{- |
3Module : Numeric.LinearAlgebra.Compat
4Copyright : (c) Alberto Ruiz 2006-14
5License : BSD3
6Maintainer : Alberto Ruiz
7Stability : provisional
8
9-}
10-----------------------------------------------------------------------------
11{-# OPTIONS_HADDOCK hide #-}
12
13module Numeric.LinearAlgebra.Compat (
14 module Numeric.Container,
15 module Numeric.LinearAlgebra.Algorithms,
16 meanCov
17) where
18
19import Numeric.Container
20import Numeric.LinearAlgebra.Algorithms
21import Numeric.Matrix()
22import Numeric.Vector()
23import Numeric.LinearAlgebra.Util(meanCov)
24
25
diff --git a/packages/base/src/Numeric/LinearAlgebra/Random.hs b/packages/base/src/Numeric/LinearAlgebra/Random.hs
index 7afd658..b66988e 100644
--- a/packages/base/src/Numeric/LinearAlgebra/Random.hs
+++ b/packages/base/src/Numeric/LinearAlgebra/Random.hs
@@ -20,7 +20,8 @@ module Numeric.LinearAlgebra.Random (
20) where 20) where
21 21
22import Numeric.Vectorized 22import Numeric.Vectorized
23import Numeric.Container 23import Data.Packed
24import Data.Packed.Internal.Numeric
24import Numeric.LinearAlgebra.Algorithms 25import Numeric.LinearAlgebra.Algorithms
25import System.Random(randomIO) 26import System.Random(randomIO)
26 27