diff options
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra/Data.hs')
-rw-r--r-- | packages/base/src/Numeric/LinearAlgebra/Data.hs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Data.hs b/packages/base/src/Numeric/LinearAlgebra/Data.hs index 8bacb09..9935c15 100644 --- a/packages/base/src/Numeric/LinearAlgebra/Data.hs +++ b/packages/base/src/Numeric/LinearAlgebra/Data.hs | |||
@@ -14,9 +14,10 @@ Basic data processing. | |||
14 | module Numeric.LinearAlgebra.Data( | 14 | module Numeric.LinearAlgebra.Data( |
15 | 15 | ||
16 | -- * Vector | 16 | -- * Vector |
17 | -- | 1D arrays are storable vectors from the vector package. | 17 | -- | 1D arrays are storable vectors from the vector package. There is no distinction |
18 | -- between row and column vectors. | ||
18 | 19 | ||
19 | vector, (|>), | 20 | fromList, toList, vector, (|>), |
20 | 21 | ||
21 | -- * Matrix | 22 | -- * Matrix |
22 | 23 | ||
@@ -26,12 +27,12 @@ module Numeric.LinearAlgebra.Data( | |||
26 | 27 | ||
27 | size, rows, cols, | 28 | size, rows, cols, |
28 | 29 | ||
29 | -- * conversion from\/to lists | 30 | -- * Conversion from\/to lists |
30 | fromList, toList, | 31 | |
31 | fromLists, toLists, | 32 | fromLists, toLists, |
32 | row, col, | 33 | row, col, |
33 | 34 | ||
34 | -- * conversions vector\/matrix | 35 | -- * Conversions vector\/matrix |
35 | 36 | ||
36 | flatten, reshape, asRow, asColumn, | 37 | flatten, reshape, asRow, asColumn, |
37 | fromRows, toRows, fromColumns, toColumns, | 38 | fromRows, toRows, fromColumns, toColumns, |
@@ -86,7 +87,7 @@ module Numeric.LinearAlgebra.Data( | |||
86 | separable, | 87 | separable, |
87 | fromArray2D, | 88 | fromArray2D, |
88 | module Data.Complex, | 89 | module Data.Complex, |
89 | I, | 90 | I,F, |
90 | Vector, Matrix, GMatrix, nRows, nCols | 91 | Vector, Matrix, GMatrix, nRows, nCols |
91 | 92 | ||
92 | ) where | 93 | ) where |
@@ -97,5 +98,6 @@ import Data.Packed.Numeric | |||
97 | import Numeric.LinearAlgebra.Util hiding ((&),(#)) | 98 | import Numeric.LinearAlgebra.Util hiding ((&),(#)) |
98 | import Data.Complex | 99 | import Data.Complex |
99 | import Numeric.Sparse | 100 | import Numeric.Sparse |
101 | import Numeric.LinearAlgebra.Util.Modular | ||
100 | 102 | ||
101 | 103 | ||