diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-05-15 20:30:57 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-05-15 20:30:57 +0200 |
commit | a86c60a5fbfc73ff3080c88007625c2cd094e80f (patch) | |
tree | e2aa5c50ee23eeb35173ac1ffcd43a51fb860003 /packages | |
parent | 69d1fc1588532b48a946c1501f92ed56600baf4d (diff) |
containerboot moved to base
Diffstat (limited to 'packages')
-rw-r--r-- | packages/base/hmatrix-base.cabal | 1 | ||||
-rw-r--r-- | packages/base/src/Data/Packed/Numeric.hs (renamed from packages/hmatrix/src/Numeric/ContainerBoot.hs) | 15 | ||||
-rw-r--r-- | packages/hmatrix/hmatrix.cabal | 1 | ||||
-rw-r--r-- | packages/hmatrix/src/Numeric/Chain.hs | 4 | ||||
-rw-r--r-- | packages/hmatrix/src/Numeric/Container.hs | 2 | ||||
-rw-r--r-- | packages/hmatrix/src/Numeric/GSL/Vector.hs | 7 | ||||
-rw-r--r-- | packages/hmatrix/src/Numeric/LinearAlgebra/Algorithms.hs | 2 | ||||
-rw-r--r-- | packages/hmatrix/src/Numeric/Random.hs | 2 | ||||
-rw-r--r-- | packages/hmatrix/src/Numeric/Vector.hs | 2 |
9 files changed, 13 insertions, 23 deletions
diff --git a/packages/base/hmatrix-base.cabal b/packages/base/hmatrix-base.cabal index cf84f30..8571e7a 100644 --- a/packages/base/hmatrix-base.cabal +++ b/packages/base/hmatrix-base.cabal | |||
@@ -37,6 +37,7 @@ library | |||
37 | Data.Packed.Development, | 37 | Data.Packed.Development, |
38 | Numeric.Conversion | 38 | Numeric.Conversion |
39 | Numeric.LinearAlgebra.LAPACK | 39 | Numeric.LinearAlgebra.LAPACK |
40 | Data.Packed.Numeric | ||
40 | Numeric.Vectorized | 41 | Numeric.Vectorized |
41 | 42 | ||
42 | other-modules: Data.Packed.Internal, | 43 | other-modules: Data.Packed.Internal, |
diff --git a/packages/hmatrix/src/Numeric/ContainerBoot.hs b/packages/base/src/Data/Packed/Numeric.hs index bb65166..4892089 100644 --- a/packages/hmatrix/src/Numeric/ContainerBoot.hs +++ b/packages/base/src/Data/Packed/Numeric.hs | |||
@@ -7,19 +7,16 @@ | |||
7 | 7 | ||
8 | ----------------------------------------------------------------------------- | 8 | ----------------------------------------------------------------------------- |
9 | -- | | 9 | -- | |
10 | -- Module : Numeric.ContainerBoot | 10 | -- Module : Data.Packed.Numeric |
11 | -- Copyright : (c) Alberto Ruiz 2010 | 11 | -- Copyright : (c) Alberto Ruiz 2010-14 |
12 | -- License : GPL-style | 12 | -- License : BSD3 |
13 | -- | 13 | -- |
14 | -- Maintainer : Alberto Ruiz <aruiz@um.es> | 14 | -- Maintainer : Alberto Ruiz |
15 | -- Stability : provisional | 15 | -- Stability : provisional |
16 | -- Portability : portable | ||
17 | -- | ||
18 | -- Module to avoid cyclyc dependencies. | ||
19 | -- | 16 | -- |
20 | ----------------------------------------------------------------------------- | 17 | ----------------------------------------------------------------------------- |
21 | 18 | ||
22 | module Numeric.ContainerBoot ( | 19 | module Data.Packed.Numeric ( |
23 | -- * Basic functions | 20 | -- * Basic functions |
24 | ident, diag, ctrans, | 21 | ident, diag, ctrans, |
25 | -- * Generic operations | 22 | -- * Generic operations |
@@ -43,7 +40,7 @@ import Data.Packed | |||
43 | import Data.Packed.ST as ST | 40 | import Data.Packed.ST as ST |
44 | import Numeric.Conversion | 41 | import Numeric.Conversion |
45 | import Data.Packed.Development | 42 | import Data.Packed.Development |
46 | import Numeric.GSL.Vector | 43 | import Numeric.Vectorized |
47 | import Data.Complex | 44 | import Data.Complex |
48 | import Control.Applicative((<*>)) | 45 | import Control.Applicative((<*>)) |
49 | 46 | ||
diff --git a/packages/hmatrix/hmatrix.cabal b/packages/hmatrix/hmatrix.cabal index 8496663..73edac4 100644 --- a/packages/hmatrix/hmatrix.cabal +++ b/packages/hmatrix/hmatrix.cabal | |||
@@ -101,7 +101,6 @@ library | |||
101 | other-modules: Numeric.Random, | 101 | other-modules: Numeric.Random, |
102 | Numeric.GSL.Internal, | 102 | Numeric.GSL.Internal, |
103 | Numeric.GSL.Vector, | 103 | Numeric.GSL.Vector, |
104 | Numeric.ContainerBoot, | ||
105 | Numeric.IO, | 104 | Numeric.IO, |
106 | Numeric.Chain, | 105 | Numeric.Chain, |
107 | Numeric.Vector, | 106 | Numeric.Vector, |
diff --git a/packages/hmatrix/src/Numeric/Chain.hs b/packages/hmatrix/src/Numeric/Chain.hs index e1ab7da..de6a86f 100644 --- a/packages/hmatrix/src/Numeric/Chain.hs +++ b/packages/hmatrix/src/Numeric/Chain.hs | |||
@@ -19,7 +19,7 @@ module Numeric.Chain ( | |||
19 | import Data.Maybe | 19 | import Data.Maybe |
20 | 20 | ||
21 | import Data.Packed.Matrix | 21 | import Data.Packed.Matrix |
22 | import Numeric.ContainerBoot | 22 | import Data.Packed.Numeric |
23 | 23 | ||
24 | import qualified Data.Array.IArray as A | 24 | import qualified Data.Array.IArray as A |
25 | 25 | ||
@@ -137,4 +137,4 @@ m1, m2, m3, m4 :: Matrix Double | |||
137 | m1 = (10><15) [1..] | 137 | m1 = (10><15) [1..] |
138 | m2 = (15><20) [1..] | 138 | m2 = (15><20) [1..] |
139 | m3 = (20><5) [1..] | 139 | m3 = (20><5) [1..] |
140 | m4 = (5><10) [1..] \ No newline at end of file | 140 | m4 = (5><10) [1..] |
diff --git a/packages/hmatrix/src/Numeric/Container.hs b/packages/hmatrix/src/Numeric/Container.hs index be2347b..645a83f 100644 --- a/packages/hmatrix/src/Numeric/Container.hs +++ b/packages/hmatrix/src/Numeric/Container.hs | |||
@@ -65,7 +65,7 @@ module Numeric.Container ( | |||
65 | ) where | 65 | ) where |
66 | 66 | ||
67 | import Data.Packed hiding (stepD, stepF, condD, condF, conjugateC, conjugateQ) | 67 | import Data.Packed hiding (stepD, stepF, condD, condF, conjugateC, conjugateQ) |
68 | import Numeric.ContainerBoot | 68 | import Data.Packed.Numeric |
69 | import Numeric.Chain | 69 | import Numeric.Chain |
70 | import Numeric.IO | 70 | import Numeric.IO |
71 | import Data.Complex | 71 | import Data.Complex |
diff --git a/packages/hmatrix/src/Numeric/GSL/Vector.hs b/packages/hmatrix/src/Numeric/GSL/Vector.hs index e133c2c..bca074f 100644 --- a/packages/hmatrix/src/Numeric/GSL/Vector.hs +++ b/packages/hmatrix/src/Numeric/GSL/Vector.hs | |||
@@ -11,12 +11,6 @@ | |||
11 | ----------------------------------------------------------------------------- | 11 | ----------------------------------------------------------------------------- |
12 | 12 | ||
13 | module Numeric.GSL.Vector ( | 13 | module Numeric.GSL.Vector ( |
14 | sumF, sumR, sumQ, sumC, | ||
15 | prodF, prodR, prodQ, prodC, | ||
16 | FunCodeS(..), toScalarR, toScalarF, toScalarC, toScalarQ, | ||
17 | FunCodeV(..), vectorMapR, vectorMapC, vectorMapF, vectorMapQ, | ||
18 | FunCodeSV(..), vectorMapValR, vectorMapValC, vectorMapValF, vectorMapValQ, | ||
19 | FunCodeVV(..), vectorZipR, vectorZipC, vectorZipF, vectorZipQ, | ||
20 | RandDist(..), randomVector, | 14 | RandDist(..), randomVector, |
21 | saveMatrix, | 15 | saveMatrix, |
22 | fwriteVector, freadVector, fprintfVector, fscanfVector | 16 | fwriteVector, freadVector, fprintfVector, fscanfVector |
@@ -24,7 +18,6 @@ module Numeric.GSL.Vector ( | |||
24 | 18 | ||
25 | import Data.Packed | 19 | import Data.Packed |
26 | import Numeric.GSL.Internal hiding (TV,TM,TCV,TCM) | 20 | import Numeric.GSL.Internal hiding (TV,TM,TCV,TCM) |
27 | import Numeric.Vectorized | ||
28 | 21 | ||
29 | import Data.Complex | 22 | import Data.Complex |
30 | import Foreign.Marshal.Alloc(free) | 23 | import Foreign.Marshal.Alloc(free) |
diff --git a/packages/hmatrix/src/Numeric/LinearAlgebra/Algorithms.hs b/packages/hmatrix/src/Numeric/LinearAlgebra/Algorithms.hs index 0a6eaa1..b4d0c5b 100644 --- a/packages/hmatrix/src/Numeric/LinearAlgebra/Algorithms.hs +++ b/packages/hmatrix/src/Numeric/LinearAlgebra/Algorithms.hs | |||
@@ -84,7 +84,7 @@ import Data.Packed | |||
84 | import Numeric.LinearAlgebra.LAPACK as LAPACK | 84 | import Numeric.LinearAlgebra.LAPACK as LAPACK |
85 | import Data.List(foldl1') | 85 | import Data.List(foldl1') |
86 | import Data.Array | 86 | import Data.Array |
87 | import Numeric.ContainerBoot | 87 | import Data.Packed.Numeric |
88 | 88 | ||
89 | 89 | ||
90 | {- | Generic linear algebra functions for double precision real and complex matrices. | 90 | {- | Generic linear algebra functions for double precision real and complex matrices. |
diff --git a/packages/hmatrix/src/Numeric/Random.hs b/packages/hmatrix/src/Numeric/Random.hs index 936c777..b4c6cde 100644 --- a/packages/hmatrix/src/Numeric/Random.hs +++ b/packages/hmatrix/src/Numeric/Random.hs | |||
@@ -21,7 +21,7 @@ module Numeric.Random ( | |||
21 | 21 | ||
22 | import Numeric.GSL.Vector | 22 | import Numeric.GSL.Vector |
23 | import Data.Packed | 23 | import Data.Packed |
24 | import Numeric.ContainerBoot | 24 | import Data.Packed.Numeric |
25 | import Numeric.LinearAlgebra.Algorithms | 25 | import Numeric.LinearAlgebra.Algorithms |
26 | 26 | ||
27 | 27 | ||
diff --git a/packages/hmatrix/src/Numeric/Vector.hs b/packages/hmatrix/src/Numeric/Vector.hs index 3f480a0..4c59d32 100644 --- a/packages/hmatrix/src/Numeric/Vector.hs +++ b/packages/hmatrix/src/Numeric/Vector.hs | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | module Numeric.Vector () where | 21 | module Numeric.Vector () where |
22 | 22 | ||
23 | import Numeric.GSL.Vector | 23 | import Numeric.Vectorized |
24 | import Numeric.Container | 24 | import Numeric.Container |
25 | 25 | ||
26 | ------------------------------------------------------------------- | 26 | ------------------------------------------------------------------- |