summaryrefslogtreecommitdiff
path: root/packages/hmatrix/src/Numeric
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2014-05-16 20:57:13 +0200
committerAlberto Ruiz <aruiz@um.es>2014-05-16 20:57:13 +0200
commitfd94ecb3c3032beccdca4a4dee38bb306f57cd8b (patch)
tree81d7318217d6da4a057e587003b44425afe6ddcd /packages/hmatrix/src/Numeric
parentd4d9082a8d7d3eed6cb5f188fc3b476847dcac27 (diff)
Numeric.Container compatible
Diffstat (limited to 'packages/hmatrix/src/Numeric')
-rw-r--r--packages/hmatrix/src/Numeric/Container.hs23
-rw-r--r--packages/hmatrix/src/Numeric/LinearAlgebra.hs13
-rw-r--r--packages/hmatrix/src/Numeric/LinearAlgebra/Random.hs2
3 files changed, 24 insertions, 14 deletions
diff --git a/packages/hmatrix/src/Numeric/Container.hs b/packages/hmatrix/src/Numeric/Container.hs
new file mode 100644
index 0000000..b6e797b
--- /dev/null
+++ b/packages/hmatrix/src/Numeric/Container.hs
@@ -0,0 +1,23 @@
1-----------------------------------------------------------------------------
2{- |
3Module : Numeric.Container
4Copyright : (c) Alberto Ruiz 2006-14
5License : GPL
6Maintainer : Alberto Ruiz
7Stability : provisional
8
9-}
10-----------------------------------------------------------------------------
11
12module Numeric.Container (
13 module Data.Packed.Numeric,
14 module Numeric.LinearAlgebra.IO,
15 module Numeric.LinearAlgebra.Random,
16 meanCov
17) where
18
19import Data.Packed.Numeric
20import Numeric.LinearAlgebra.IO
21import Numeric.LinearAlgebra.Random hiding (Seed)
22import Numeric.LinearAlgebra.Util(meanCov)
23
diff --git a/packages/hmatrix/src/Numeric/LinearAlgebra.hs b/packages/hmatrix/src/Numeric/LinearAlgebra.hs
index 1c2b1bb..71ed808 100644
--- a/packages/hmatrix/src/Numeric/LinearAlgebra.hs
+++ b/packages/hmatrix/src/Numeric/LinearAlgebra.hs
@@ -3,31 +3,18 @@
3Module : Numeric.LinearAlgebra 3Module : Numeric.LinearAlgebra
4Copyright : (c) Alberto Ruiz 2006-14 4Copyright : (c) Alberto Ruiz 2006-14
5License : GPL 5License : GPL
6
7Maintainer : Alberto Ruiz 6Maintainer : Alberto Ruiz
8Stability : provisional 7Stability : provisional
9 8
10
11This module reexports all normally required functions for Linear Algebra applications.
12
13It also provides instances of standard classes 'Show', 'Read', 'Eq',
14'Num', 'Fractional', and 'Floating' for 'Vector' and 'Matrix'.
15In arithmetic operations one-component vectors and matrices automatically
16expand to match the dimensions of the other operand.
17
18-} 9-}
19----------------------------------------------------------------------------- 10-----------------------------------------------------------------------------
20 11
21module Numeric.LinearAlgebra ( 12module Numeric.LinearAlgebra (
22 module Numeric.Container, 13 module Numeric.Container,
23 module Numeric.LinearAlgebra.Algorithms, 14 module Numeric.LinearAlgebra.Algorithms,
24 module Numeric.LinearAlgebra.IO,
25 module Numeric.LinearAlgebra.Random
26) where 15) where
27 16
28import Numeric.Container 17import Numeric.Container
29import Numeric.LinearAlgebra.Algorithms 18import Numeric.LinearAlgebra.Algorithms
30import Numeric.LinearAlgebra.Util() 19import Numeric.LinearAlgebra.Util()
31import Numeric.LinearAlgebra.IO
32import Numeric.LinearAlgebra.Random
33 20
diff --git a/packages/hmatrix/src/Numeric/LinearAlgebra/Random.hs b/packages/hmatrix/src/Numeric/LinearAlgebra/Random.hs
index e9ab2b7..0a82d3f 100644
--- a/packages/hmatrix/src/Numeric/LinearAlgebra/Random.hs
+++ b/packages/hmatrix/src/Numeric/LinearAlgebra/Random.hs
@@ -21,7 +21,7 @@ module Numeric.LinearAlgebra.Random (
21) where 21) where
22 22
23import Numeric.GSL.LinearAlgebra 23import Numeric.GSL.LinearAlgebra
24import Numeric.Container 24import Data.Packed.Numeric
25import Numeric.LinearAlgebra.Algorithms 25import Numeric.LinearAlgebra.Algorithms
26import System.Random(randomIO) 26import System.Random(randomIO)
27 27