diff options
Diffstat (limited to 'packages/hmatrix/src/Numeric')
-rw-r--r-- | packages/hmatrix/src/Numeric/Container.hs | 23 | ||||
-rw-r--r-- | packages/hmatrix/src/Numeric/LinearAlgebra.hs | 13 | ||||
-rw-r--r-- | packages/hmatrix/src/Numeric/LinearAlgebra/Random.hs | 2 |
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 | {- | | ||
3 | Module : Numeric.Container | ||
4 | Copyright : (c) Alberto Ruiz 2006-14 | ||
5 | License : GPL | ||
6 | Maintainer : Alberto Ruiz | ||
7 | Stability : provisional | ||
8 | |||
9 | -} | ||
10 | ----------------------------------------------------------------------------- | ||
11 | |||
12 | module Numeric.Container ( | ||
13 | module Data.Packed.Numeric, | ||
14 | module Numeric.LinearAlgebra.IO, | ||
15 | module Numeric.LinearAlgebra.Random, | ||
16 | meanCov | ||
17 | ) where | ||
18 | |||
19 | import Data.Packed.Numeric | ||
20 | import Numeric.LinearAlgebra.IO | ||
21 | import Numeric.LinearAlgebra.Random hiding (Seed) | ||
22 | import 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 @@ | |||
3 | Module : Numeric.LinearAlgebra | 3 | Module : Numeric.LinearAlgebra |
4 | Copyright : (c) Alberto Ruiz 2006-14 | 4 | Copyright : (c) Alberto Ruiz 2006-14 |
5 | License : GPL | 5 | License : GPL |
6 | |||
7 | Maintainer : Alberto Ruiz | 6 | Maintainer : Alberto Ruiz |
8 | Stability : provisional | 7 | Stability : provisional |
9 | 8 | ||
10 | |||
11 | This module reexports all normally required functions for Linear Algebra applications. | ||
12 | |||
13 | It also provides instances of standard classes 'Show', 'Read', 'Eq', | ||
14 | 'Num', 'Fractional', and 'Floating' for 'Vector' and 'Matrix'. | ||
15 | In arithmetic operations one-component vectors and matrices automatically | ||
16 | expand to match the dimensions of the other operand. | ||
17 | |||
18 | -} | 9 | -} |
19 | ----------------------------------------------------------------------------- | 10 | ----------------------------------------------------------------------------- |
20 | 11 | ||
21 | module Numeric.LinearAlgebra ( | 12 | module 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 | ||
28 | import Numeric.Container | 17 | import Numeric.Container |
29 | import Numeric.LinearAlgebra.Algorithms | 18 | import Numeric.LinearAlgebra.Algorithms |
30 | import Numeric.LinearAlgebra.Util() | 19 | import Numeric.LinearAlgebra.Util() |
31 | import Numeric.LinearAlgebra.IO | ||
32 | import 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 | ||
23 | import Numeric.GSL.LinearAlgebra | 23 | import Numeric.GSL.LinearAlgebra |
24 | import Numeric.Container | 24 | import Data.Packed.Numeric |
25 | import Numeric.LinearAlgebra.Algorithms | 25 | import Numeric.LinearAlgebra.Algorithms |
26 | import System.Random(randomIO) | 26 | import System.Random(randomIO) |
27 | 27 | ||