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 b19c0ec..79cc64d 100644 --- a/lib/Numeric/LinearAlgebra/Algorithms.hs +++ b/lib/Numeric/LinearAlgebra/Algorithms.hs | |||
@@ -69,7 +69,7 @@ import Data.List(foldl1') | |||
69 | import Data.Array | 69 | import Data.Array |
70 | 70 | ||
71 | -- | Auxiliary typeclass used to define generic computations for both real and complex matrices. | 71 | -- | Auxiliary typeclass used to define generic computations for both real and complex matrices. |
72 | class (Normed (Matrix t), Linear Matrix t) => Field t where | 72 | class (Normed (Matrix t), Linear Vector t, Linear Matrix t) => Field t where |
73 | -- | Singular value decomposition using lapack's dgesvd or zgesvd. | 73 | -- | Singular value decomposition using lapack's dgesvd or zgesvd. |
74 | svd :: Matrix t -> (Matrix t, Vector Double, Matrix t) | 74 | svd :: Matrix t -> (Matrix t, Vector Double, Matrix t) |
75 | luPacked :: Matrix t -> (Matrix t, [Int]) | 75 | luPacked :: Matrix t -> (Matrix t, [Int]) |