diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/base/src/Data/Packed.hs | 26 | ||||
-rw-r--r-- | packages/base/src/Data/Packed/Development.hs | 32 | ||||
-rw-r--r-- | packages/base/src/Data/Packed/Internal.hs | 24 | ||||
-rw-r--r-- | packages/base/src/Numeric/Container.hs | 49 |
4 files changed, 0 insertions, 131 deletions
diff --git a/packages/base/src/Data/Packed.hs b/packages/base/src/Data/Packed.hs deleted file mode 100644 index 129bd22..0000000 --- a/packages/base/src/Data/Packed.hs +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | ----------------------------------------------------------------------------- | ||
2 | {- | | ||
3 | Module : Data.Packed | ||
4 | Copyright : (c) Alberto Ruiz 2006-2014 | ||
5 | License : BSD3 | ||
6 | Maintainer : Alberto Ruiz | ||
7 | Stability : provisional | ||
8 | |||
9 | Types for dense 'Vector' and 'Matrix' of 'Storable' elements. | ||
10 | |||
11 | -} | ||
12 | ----------------------------------------------------------------------------- | ||
13 | {-# OPTIONS_HADDOCK hide #-} | ||
14 | |||
15 | module Data.Packed ( | ||
16 | -- * Vector | ||
17 | -- | ||
18 | -- | Vectors are @Data.Vector.Storable.Vector@ from the \"vector\" package. | ||
19 | module Data.Packed.Vector, | ||
20 | -- * Matrix | ||
21 | module Data.Packed.Matrix, | ||
22 | ) where | ||
23 | |||
24 | import Data.Packed.Vector | ||
25 | import Data.Packed.Matrix | ||
26 | |||
diff --git a/packages/base/src/Data/Packed/Development.hs b/packages/base/src/Data/Packed/Development.hs deleted file mode 100644 index ff693f3..0000000 --- a/packages/base/src/Data/Packed/Development.hs +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | |||
2 | ----------------------------------------------------------------------------- | ||
3 | -- | | ||
4 | -- Module : Data.Packed.Development | ||
5 | -- Copyright : (c) Alberto Ruiz 2009 | ||
6 | -- License : BSD3 | ||
7 | -- Maintainer : Alberto Ruiz | ||
8 | -- Stability : provisional | ||
9 | -- Portability : portable | ||
10 | -- | ||
11 | -- The library can be easily extended with additional foreign functions | ||
12 | -- using the tools in this module. Illustrative usage examples can be found | ||
13 | -- in the @examples\/devel@ folder included in the package. | ||
14 | -- | ||
15 | ----------------------------------------------------------------------------- | ||
16 | {-# OPTIONS_HADDOCK hide #-} | ||
17 | |||
18 | module Data.Packed.Development ( | ||
19 | createVector, createMatrix, | ||
20 | vec, mat, omat, | ||
21 | app1, app2, app3, app4, | ||
22 | app5, app6, app7, app8, app9, app10, | ||
23 | MatrixOrder(..), orderOf, cmat, fmat, | ||
24 | matrixFromVector, | ||
25 | unsafeFromForeignPtr, | ||
26 | unsafeToForeignPtr, | ||
27 | check, (//), | ||
28 | at', atM', fi | ||
29 | ) where | ||
30 | |||
31 | import Data.Packed.Internal | ||
32 | |||
diff --git a/packages/base/src/Data/Packed/Internal.hs b/packages/base/src/Data/Packed/Internal.hs deleted file mode 100644 index 59a72fc..0000000 --- a/packages/base/src/Data/Packed/Internal.hs +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | ----------------------------------------------------------------------------- | ||
2 | -- | | ||
3 | -- Module : Data.Packed.Internal | ||
4 | -- Copyright : (c) Alberto Ruiz 2007 | ||
5 | -- License : BSD3 | ||
6 | -- Maintainer : Alberto Ruiz | ||
7 | -- Stability : provisional | ||
8 | -- | ||
9 | -- Reexports all internal modules | ||
10 | -- | ||
11 | ----------------------------------------------------------------------------- | ||
12 | -- #hide | ||
13 | |||
14 | module Data.Packed.Internal ( | ||
15 | module Data.Packed.Internal.Common, | ||
16 | module Data.Packed.Internal.Signatures, | ||
17 | module Data.Packed.Internal.Vector, | ||
18 | module Data.Packed.Internal.Matrix, | ||
19 | ) where | ||
20 | |||
21 | import Data.Packed.Internal.Common | ||
22 | import Data.Packed.Internal.Signatures | ||
23 | import Data.Packed.Internal.Vector | ||
24 | import Data.Packed.Internal.Matrix | ||
diff --git a/packages/base/src/Numeric/Container.hs b/packages/base/src/Numeric/Container.hs deleted file mode 100644 index 48291a1..0000000 --- a/packages/base/src/Numeric/Container.hs +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | {-# OPTIONS_HADDOCK hide #-} | ||
2 | |||
3 | module Numeric.Container( | ||
4 | module Data.Packed, | ||
5 | constant, | ||
6 | linspace, | ||
7 | diag, | ||
8 | ident, | ||
9 | ctrans, | ||
10 | Container(addConstant,add, sub, mul, equal,scaleRecip,divide), | ||
11 | scalar, | ||
12 | conj, | ||
13 | scale, | ||
14 | arctan2, | ||
15 | cmap, | ||
16 | Konst(..), | ||
17 | Build(..), | ||
18 | atIndex, | ||
19 | minIndex, maxIndex, minElement, maxElement, | ||
20 | sumElements, prodElements, | ||
21 | step, cond, find, assoc, accum, | ||
22 | Element(..), | ||
23 | Product(..), dot, udot, | ||
24 | optimiseMult, | ||
25 | mXm, mXv, vXm, (<.>), | ||
26 | Mul(..), | ||
27 | LSDiv, (<\>), | ||
28 | outer, kronecker, | ||
29 | RandDist(..), | ||
30 | randomVector, gaussianSample, uniformSample, | ||
31 | meanCov, | ||
32 | Convert(..), | ||
33 | Complexable, | ||
34 | RealElement, | ||
35 | RealOf, ComplexOf, SingleOf, DoubleOf, IndexOf, | ||
36 | module Data.Complex, | ||
37 | dispf, disps, dispcf, vecdisp, latexFormat, format, | ||
38 | loadMatrix, saveMatrix, readMatrix | ||
39 | ) where | ||
40 | |||
41 | |||
42 | import Data.Packed.Numeric | ||
43 | import Data.Packed | ||
44 | import Data.Packed.Internal(constantD) | ||
45 | import Data.Complex | ||
46 | |||
47 | constant :: Element a => a -> Int -> Vector a | ||
48 | constant = constantD | ||
49 | |||