summaryrefslogtreecommitdiff
path: root/packages/base/src/Numeric/LinearAlgebra/Base.hs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra/Base.hs')
-rw-r--r--packages/base/src/Numeric/LinearAlgebra/Base.hs20
1 files changed, 12 insertions, 8 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Base.hs b/packages/base/src/Numeric/LinearAlgebra/Base.hs
index 395c84a..8d44d26 100644
--- a/packages/base/src/Numeric/LinearAlgebra/Base.hs
+++ b/packages/base/src/Numeric/LinearAlgebra/Base.hs
@@ -35,10 +35,13 @@ module Numeric.LinearAlgebra.Base (
35 -- , 5.0, 5.0, 7.0 ] 35 -- , 5.0, 5.0, 7.0 ]
36 -- 36 --
37 37
38 -- * Products 38 -- * Matrix product
39 (<.>), 39 (<.>),
40 40
41 -- | The matrix product is also implemented in the "Data.Monoid" instance for Matrix, where 41 -- | This operator can also be written using the unicode symbol ◇ (25c7).
42 --
43
44 -- | The matrix x matrix product is also implemented in the "Data.Monoid" instance, where
42 -- single-element matrices (created from numeric literals or using 'scalar') 45 -- single-element matrices (created from numeric literals or using 'scalar')
43 -- are used for scaling. 46 -- are used for scaling.
44 -- 47 --
@@ -48,9 +51,9 @@ module Numeric.LinearAlgebra.Base (
48 -- [ 1.0, 4.0, 0.0 51 -- [ 1.0, 4.0, 0.0
49 -- , 4.0, 10.0, 0.0 ] 52 -- , 4.0, 10.0, 0.0 ]
50 -- 53 --
51 -- mconcat uses 'optimiseMult' to get the optimal association order. 54 -- 'mconcat' uses 'optimiseMult' to get the optimal association order.
52 55
53 (◇), 56 -- * Other products
54 outer, kronecker, cross, 57 outer, kronecker, cross,
55 scale, 58 scale,
56 sumElements, prodElements, absSum, 59 sumElements, prodElements, absSum,
@@ -114,15 +117,15 @@ module Numeric.LinearAlgebra.Base (
114 -- * Norms 117 -- * Norms
115 norm1, norm2, normInf, pnorm, NormType(..), 118 norm1, norm2, normInf, pnorm, NormType(..),
116 119
117 -- * Correlation and Convolution 120 -- * Correlation and convolution
118 corr, conv, corrMin, corr2, conv2, 121 corr, conv, corrMin, corr2, conv2,
119 122
120 -- * Random arrays 123 -- * Random arrays
121 124
122 -- | rand, randn, RandDist(..), randomVector, gaussianSample, uniformSample 125 RandDist(..), randomVector, rand, randn, gaussianSample, uniformSample,
123 126
124 -- * Misc 127 -- * Misc
125 meanCov, peps, relativeError, haussholder, optimiseMult, udot 128 meanCov, peps, relativeError, haussholder, optimiseMult, udot, Seed, (◇)
126) where 129) where
127 130
128import Numeric.LinearAlgebra.Data 131import Numeric.LinearAlgebra.Data
@@ -132,6 +135,7 @@ import Numeric.Vector()
132import Data.Packed.Numeric 135import Data.Packed.Numeric
133import Numeric.LinearAlgebra.Algorithms 136import Numeric.LinearAlgebra.Algorithms
134import Numeric.LinearAlgebra.Util 137import Numeric.LinearAlgebra.Util
138import Numeric.LinearAlgebra.Random
135 139
136 140
137 141