diff options
Diffstat (limited to 'packages/base/src/Internal/Modular.hs')
-rw-r--r-- | packages/base/src/Internal/Modular.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/base/src/Internal/Modular.hs b/packages/base/src/Internal/Modular.hs index c4f95d8..54d9cb8 100644 --- a/packages/base/src/Internal/Modular.hs +++ b/packages/base/src/Internal/Modular.hs | |||
@@ -398,6 +398,7 @@ test = (ok, info) | |||
398 | print lgm | 398 | print lgm |
399 | print $ lgm <> lgm | 399 | print $ lgm <> lgm |
400 | 400 | ||
401 | putStrLn "checkGen" | ||
401 | print (checkGen (gen 5 :: Matrix R)) | 402 | print (checkGen (gen 5 :: Matrix R)) |
402 | print (checkGen (gen 5 :: Matrix Float)) | 403 | print (checkGen (gen 5 :: Matrix Float)) |
403 | print (checkGen (cgen 5 :: Matrix C)) | 404 | print (checkGen (cgen 5 :: Matrix C)) |
@@ -408,6 +409,7 @@ test = (ok, info) | |||
408 | print $ mutable (luST (const True)) (gen 5 :: Matrix R) | 409 | print $ mutable (luST (const True)) (gen 5 :: Matrix R) |
409 | print $ mutable (luST (const True)) (gen 5 :: Matrix (Mod 11 Z)) | 410 | print $ mutable (luST (const True)) (gen 5 :: Matrix (Mod 11 Z)) |
410 | 411 | ||
412 | putStrLn "checkLU" | ||
411 | print $ checkLU (magnit 0) (gen 5 :: Matrix R) | 413 | print $ checkLU (magnit 0) (gen 5 :: Matrix R) |
412 | print $ checkLU (magnit 0) (gen 5 :: Matrix Float) | 414 | print $ checkLU (magnit 0) (gen 5 :: Matrix Float) |
413 | print $ checkLU (magnit 0) (cgen 5 :: Matrix C) | 415 | print $ checkLU (magnit 0) (cgen 5 :: Matrix C) |
@@ -415,6 +417,7 @@ test = (ok, info) | |||
415 | print $ checkLU (magnit 0) (gen 5 :: Matrix (Mod 7 I)) | 417 | print $ checkLU (magnit 0) (gen 5 :: Matrix (Mod 7 I)) |
416 | print $ checkLU (magnit 0) (gen 5 :: Matrix (Mod 7 Z)) | 418 | print $ checkLU (magnit 0) (gen 5 :: Matrix (Mod 7 Z)) |
417 | 419 | ||
420 | putStrLn "checkSolve" | ||
418 | print $ checkSolve (gen 5 :: Matrix R) | 421 | print $ checkSolve (gen 5 :: Matrix R) |
419 | print $ checkSolve (gen 5 :: Matrix Float) | 422 | print $ checkSolve (gen 5 :: Matrix Float) |
420 | print $ checkSolve (cgen 5 :: Matrix C) | 423 | print $ checkSolve (cgen 5 :: Matrix C) |
@@ -422,6 +425,7 @@ test = (ok, info) | |||
422 | print $ checkSolve (gen 5 :: Matrix (Mod 7 I)) | 425 | print $ checkSolve (gen 5 :: Matrix (Mod 7 I)) |
423 | print $ checkSolve (gen 5 :: Matrix (Mod 7 Z)) | 426 | print $ checkSolve (gen 5 :: Matrix (Mod 7 Z)) |
424 | 427 | ||
428 | putStrLn "luSolve'" | ||
425 | print $ luSolve' (luPacked' tmm) (ident (rows tmm)) | 429 | print $ luSolve' (luPacked' tmm) (ident (rows tmm)) |
426 | print $ invershur tmm | 430 | print $ invershur tmm |
427 | 431 | ||