diff options
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra.hs')
-rw-r--r-- | packages/base/src/Numeric/LinearAlgebra.hs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra.hs b/packages/base/src/Numeric/LinearAlgebra.hs index dd4cc67..9cab635 100644 --- a/packages/base/src/Numeric/LinearAlgebra.hs +++ b/packages/base/src/Numeric/LinearAlgebra.hs | |||
@@ -8,11 +8,16 @@ License : BSD3 | |||
8 | Maintainer : Alberto Ruiz | 8 | Maintainer : Alberto Ruiz |
9 | Stability : provisional | 9 | Stability : provisional |
10 | 10 | ||
11 | |||
11 | -} | 12 | -} |
12 | ----------------------------------------------------------------------------- | 13 | ----------------------------------------------------------------------------- |
13 | module Numeric.LinearAlgebra ( | 14 | module Numeric.LinearAlgebra ( |
14 | 15 | ||
15 | -- * Basic types and data processing | 16 | -- * Basic Types and data manipulation |
17 | -- | This package works with 2D ('Matrix') and 1D ('Vector') | ||
18 | -- arrays of real ('R') or complex ('C') double precision numbers. | ||
19 | -- Single precision and machine integers are also supported for | ||
20 | -- basic arithmetic and data manipulation. | ||
16 | module Numeric.LinearAlgebra.Data, | 21 | module Numeric.LinearAlgebra.Data, |
17 | 22 | ||
18 | -- * Numeric classes | 23 | -- * Numeric classes |
@@ -51,9 +56,9 @@ module Numeric.LinearAlgebra ( | |||
51 | -- ** dot | 56 | -- ** dot |
52 | dot, (<.>), | 57 | dot, (<.>), |
53 | -- ** matrix-vector | 58 | -- ** matrix-vector |
54 | app, (#>), (<#), (!#>), | 59 | (#>), (<#), (!#>), |
55 | -- ** matrix-matrix | 60 | -- ** matrix-matrix |
56 | mul, (<>), | 61 | (<>), |
57 | -- | The matrix product is also implemented in the "Data.Monoid" instance, where | 62 | -- | The matrix product is also implemented in the "Data.Monoid" instance, where |
58 | -- single-element matrices (created from numeric literals or using 'scalar') | 63 | -- single-element matrices (created from numeric literals or using 'scalar') |
59 | -- are used for scaling. | 64 | -- are used for scaling. |
@@ -172,7 +177,7 @@ import Internal.Sparse((!#>)) | |||
172 | import Internal.CG | 177 | import Internal.CG |
173 | import Internal.Conversion | 178 | import Internal.Conversion |
174 | 179 | ||
175 | {- | infix synonym of 'mul' | 180 | {- | dense matrix product |
176 | 181 | ||
177 | >>> let a = (3><5) [1..] | 182 | >>> let a = (3><5) [1..] |
178 | >>> a | 183 | >>> a |