diff options
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra.hs')
-rw-r--r-- | packages/base/src/Numeric/LinearAlgebra.hs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra.hs b/packages/base/src/Numeric/LinearAlgebra.hs index 0f8efa4..fe524cc 100644 --- a/packages/base/src/Numeric/LinearAlgebra.hs +++ b/packages/base/src/Numeric/LinearAlgebra.hs | |||
@@ -80,6 +80,7 @@ module Numeric.LinearAlgebra ( | |||
80 | cholSolve, | 80 | cholSolve, |
81 | cgSolve, | 81 | cgSolve, |
82 | cgSolve', | 82 | cgSolve', |
83 | linearSolve', | ||
83 | 84 | ||
84 | -- * Inverse and pseudoinverse | 85 | -- * Inverse and pseudoinverse |
85 | inv, pinv, pinvTol, | 86 | inv, pinv, pinvTol, |
@@ -136,8 +137,9 @@ module Numeric.LinearAlgebra ( | |||
136 | Seed, RandDist(..), randomVector, rand, randn, gaussianSample, uniformSample, | 137 | Seed, RandDist(..), randomVector, rand, randn, gaussianSample, uniformSample, |
137 | 138 | ||
138 | -- * Misc | 139 | -- * Misc |
139 | meanCov, rowOuters, pairwiseD2, unitary, peps, relativeError, haussholder, optimiseMult, udot, nullspaceSVD, orthSVD, ranksv, gaussElim, luST, magnit, | 140 | meanCov, rowOuters, pairwiseD2, unitary, peps, relativeError, magnit, |
140 | ℝ,ℂ,iC, | 141 | haussholder, optimiseMult, udot, nullspaceSVD, orthSVD, ranksv, |
142 | iC, | ||
141 | -- * Auxiliary classes | 143 | -- * Auxiliary classes |
142 | Element, Container, Product, Numeric, LSDiv, | 144 | Element, Container, Product, Numeric, LSDiv, |
143 | Complexable, RealElement, | 145 | Complexable, RealElement, |
@@ -156,7 +158,7 @@ import Numeric.Vector() | |||
156 | import Internal.Matrix | 158 | import Internal.Matrix |
157 | import Internal.Container hiding ((<>)) | 159 | import Internal.Container hiding ((<>)) |
158 | import Internal.Numeric hiding (mul) | 160 | import Internal.Numeric hiding (mul) |
159 | import Internal.Algorithms hiding (linearSolve,Normed,orth,luPacked') | 161 | import Internal.Algorithms hiding (linearSolve,Normed,orth,luPacked',linearSolve') |
160 | import qualified Internal.Algorithms as A | 162 | import qualified Internal.Algorithms as A |
161 | import Internal.Util | 163 | import Internal.Util |
162 | import Internal.Random | 164 | import Internal.Random |
@@ -240,3 +242,5 @@ orth m = orthSVD (Left (1*eps)) m (leftSV m) | |||
240 | 242 | ||
241 | luPacked' x = mutable (luST (magnit 0)) x | 243 | luPacked' x = mutable (luST (magnit 0)) x |
242 | 244 | ||
245 | linearSolve' x y = gaussElim x y | ||
246 | |||