diff options
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Tests/Properties.hs')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Tests/Properties.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Numeric/LinearAlgebra/Tests/Properties.hs b/lib/Numeric/LinearAlgebra/Tests/Properties.hs index 93175f2..6d176fa 100644 --- a/lib/Numeric/LinearAlgebra/Tests/Properties.hs +++ b/lib/Numeric/LinearAlgebra/Tests/Properties.hs | |||
@@ -38,6 +38,7 @@ module Numeric.LinearAlgebra.Tests.Properties ( | |||
38 | cholProp, | 38 | cholProp, |
39 | expmDiagProp, | 39 | expmDiagProp, |
40 | multProp1, multProp2, | 40 | multProp1, multProp2, |
41 | subProp, | ||
41 | linearSolveProp, linearSolveProp2 | 42 | linearSolveProp, linearSolveProp2 |
42 | ) where | 43 | ) where |
43 | 44 | ||
@@ -243,3 +244,6 @@ linearSolveProp2 f (a,x) = not wc `trivial` (not wc || a <> f a b |~| b) | |||
243 | where q = min (rows a) (cols a) | 244 | where q = min (rows a) (cols a) |
244 | b = a <> x | 245 | b = a <> x |
245 | wc = rank a == q | 246 | wc = rank a == q |
247 | |||
248 | subProp m = m == (trans . fromColumns . toRows) m | ||
249 | |||