diff options
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Algorithms.hs')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Algorithms.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Numeric/LinearAlgebra/Algorithms.hs b/lib/Numeric/LinearAlgebra/Algorithms.hs index 79cc64d..1de018c 100644 --- a/lib/Numeric/LinearAlgebra/Algorithms.hs +++ b/lib/Numeric/LinearAlgebra/Algorithms.hs | |||
@@ -142,7 +142,7 @@ eigSH m | m `equal` ctrans m = eigSH' m | |||
142 | 142 | ||
143 | -- | Cholesky factorization of a positive definite hermitian or symmetric matrix using lapack's dpotrf or zportrf. | 143 | -- | Cholesky factorization of a positive definite hermitian or symmetric matrix using lapack's dpotrf or zportrf. |
144 | -- | 144 | -- |
145 | -- If @c = chol m@ then @m == c \<> ctrans c@. | 145 | -- If @c = chol m@ then @m == ctrans c \<> c@. |
146 | chol :: Field t => Matrix t -> Matrix t | 146 | chol :: Field t => Matrix t -> Matrix t |
147 | chol m | m `equal` ctrans m = cholSH m | 147 | chol m | m `equal` ctrans m = cholSH m |
148 | | otherwise = error "chol requires positive definite complex hermitian or real symmetric matrix" | 148 | | otherwise = error "chol requires positive definite complex hermitian or real symmetric matrix" |