summaryrefslogtreecommitdiff
path: root/lib/Numeric/LinearAlgebra/Algorithms.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Algorithms.hs')
-rw-r--r--lib/Numeric/LinearAlgebra/Algorithms.hs11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/Numeric/LinearAlgebra/Algorithms.hs b/lib/Numeric/LinearAlgebra/Algorithms.hs
index c7118c1..2c5f44c 100644
--- a/lib/Numeric/LinearAlgebra/Algorithms.hs
+++ b/lib/Numeric/LinearAlgebra/Algorithms.hs
@@ -1,4 +1,5 @@
1{-# OPTIONS_GHC -fglasgow-exts #-} 1{-# OPTIONS_GHC -XFlexibleContexts -XFlexibleInstances #-}
2{-# LANGUAGE CPP #-}
2----------------------------------------------------------------------------- 3-----------------------------------------------------------------------------
3{- | 4{- |
4Module : Numeric.LinearAlgebra.Algorithms 5Module : Numeric.LinearAlgebra.Algorithms
@@ -138,8 +139,12 @@ instance Field (Complex Double) where
138 qr = unpackQR . qrC 139 qr = unpackQR . qrC
139 hess = unpackHess hessC 140 hess = unpackHess hessC
140 schur = schurC 141 schur = schurC
141 multiply = mulCW -- workaround 142
142 -- multiplyC3 143#if defined(WORKAROUND)
144 multiply = mulCW
145#else
146 multiply = multiplyC3
147#endif
143 148
144-- | Eigenvalues and Eigenvectors of a complex hermitian or real symmetric matrix using lapack's dsyev or zheev. 149-- | Eigenvalues and Eigenvectors of a complex hermitian or real symmetric matrix using lapack's dsyev or zheev.
145-- 150--