summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2008-10-05 17:47:02 +0000
committerAlberto Ruiz <aruiz@um.es>2008-10-05 17:47:02 +0000
commitc3b66ae4ec9d4dc38205f864af2bc097353ba54c (patch)
treee90ccf3f7b68b6d6989d3faa7f2152c71659694d /lib
parent192ac5f4b98517862c37ecf161505396ad223cd8 (diff)
workaround option
Diffstat (limited to 'lib')
-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--