diff options
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Tests/Properties.hs')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Tests/Properties.hs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Numeric/LinearAlgebra/Tests/Properties.hs b/lib/Numeric/LinearAlgebra/Tests/Properties.hs index b5321c2..45b03a2 100644 --- a/lib/Numeric/LinearAlgebra/Tests/Properties.hs +++ b/lib/Numeric/LinearAlgebra/Tests/Properties.hs | |||
@@ -35,7 +35,8 @@ module Numeric.LinearAlgebra.Tests.Properties ( | |||
35 | schurProp1, schurProp2, | 35 | schurProp1, schurProp2, |
36 | cholProp, | 36 | cholProp, |
37 | expmDiagProp, | 37 | expmDiagProp, |
38 | multProp1, multProp2 | 38 | multProp1, multProp2, |
39 | linearSolveProp | ||
39 | ) where | 40 | ) where |
40 | 41 | ||
41 | import Numeric.LinearAlgebra | 42 | import Numeric.LinearAlgebra |
@@ -153,4 +154,6 @@ expmDiagProp m = expm (logm m) :~ 7 ~: complex m | |||
153 | 154 | ||
154 | multProp1 (a,b) = a <> b |~| mulH a b | 155 | multProp1 (a,b) = a <> b |~| mulH a b |
155 | 156 | ||
156 | multProp2 (a,b) = trans (a <> b) |~| trans b <> trans a | 157 | multProp2 (a,b) = ctrans (a <> b) |~| ctrans b <> ctrans a |
158 | |||
159 | linearSolveProp f m = f m m |~| ident (rows m) | ||