diff options
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra.hs')
-rw-r--r-- | packages/base/src/Numeric/LinearAlgebra.hs | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra.hs b/packages/base/src/Numeric/LinearAlgebra.hs index 7be2600..6a9c33a 100644 --- a/packages/base/src/Numeric/LinearAlgebra.hs +++ b/packages/base/src/Numeric/LinearAlgebra.hs | |||
@@ -35,8 +35,9 @@ module Numeric.LinearAlgebra ( | |||
35 | 35 | ||
36 | -- * Autoconformable dimensions | 36 | -- * Autoconformable dimensions |
37 | -- | | 37 | -- | |
38 | -- In arithmetic operations single-element vectors and matrices | 38 | -- In most operations, single-element vectors and matrices |
39 | -- (created from numeric literals or using 'scalar') automatically | 39 | -- (created from numeric literals or using 'scalar'), and matrices |
40 | -- with just one row or column, automatically | ||
40 | -- expand to match the dimensions of the other operand: | 41 | -- expand to match the dimensions of the other operand: |
41 | -- | 42 | -- |
42 | -- >>> 5 + 2*ident 3 :: Matrix Double | 43 | -- >>> 5 + 2*ident 3 :: Matrix Double |
@@ -45,11 +46,12 @@ module Numeric.LinearAlgebra ( | |||
45 | -- , 5.0, 7.0, 5.0 | 46 | -- , 5.0, 7.0, 5.0 |
46 | -- , 5.0, 5.0, 7.0 ] | 47 | -- , 5.0, 5.0, 7.0 ] |
47 | -- | 48 | -- |
48 | -- >>> matrix 3 [1..9] + matrix 1 [10,20,30] | 49 | -- >>> (4><3) [1..] + row [10,20,30] |
49 | -- (3><3) | 50 | -- (4><3) |
50 | -- [ 11.0, 12.0, 13.0 | 51 | -- [ 11.0, 22.0, 33.0 |
51 | -- , 24.0, 25.0, 26.0 | 52 | -- , 14.0, 25.0, 36.0 |
52 | -- , 37.0, 38.0, 39.0 ] | 53 | -- , 17.0, 28.0, 39.0 |
54 | -- , 20.0, 31.0, 42.0 ] | ||
53 | -- | 55 | -- |
54 | 56 | ||
55 | -- * Products | 57 | -- * Products |
@@ -152,9 +154,9 @@ module Numeric.LinearAlgebra ( | |||
152 | -- * Misc | 154 | -- * Misc |
153 | meanCov, rowOuters, pairwiseD2, unitary, peps, relativeError, magnit, | 155 | meanCov, rowOuters, pairwiseD2, unitary, peps, relativeError, magnit, |
154 | haussholder, optimiseMult, udot, nullspaceSVD, orthSVD, ranksv, | 156 | haussholder, optimiseMult, udot, nullspaceSVD, orthSVD, ranksv, |
155 | iC, sym, xTx, trustSym, her, | 157 | iC, sym, mTm, trustSym, unSym, |
156 | -- * Auxiliary classes | 158 | -- * Auxiliary classes |
157 | Element, Container, Product, Numeric, LSDiv, Her, | 159 | Element, Container, Product, Numeric, LSDiv, Herm, |
158 | Complexable, RealElement, | 160 | Complexable, RealElement, |
159 | RealOf, ComplexOf, SingleOf, DoubleOf, | 161 | RealOf, ComplexOf, SingleOf, DoubleOf, |
160 | IndexOf, | 162 | IndexOf, |
@@ -162,6 +164,7 @@ module Numeric.LinearAlgebra ( | |||
162 | Transposable, | 164 | Transposable, |
163 | LU(..), | 165 | LU(..), |
164 | LDL(..), | 166 | LDL(..), |
167 | QR(..), | ||
165 | CGState(..), | 168 | CGState(..), |
166 | Testable(..) | 169 | Testable(..) |
167 | ) where | 170 | ) where |