]> gitweb.factorcode.org Git - factor.git/blob - extra/math/matrices/laplace/laplace-tests.factor
Switch to https urls
[factor.git] / extra / math / matrices / laplace / laplace-tests.factor
1 ! Copyright (C) 2013 Doug Coleman.
2 ! See https://factorcode.org/license.txt for BSD license.
3 USING: math.matrices.laplace tools.test kernel ;
4
5 { -2 } [ { { 1 2 } { 3 4 } } determinant ] unit-test
6
7 { 0 } [
8     { { 1 2 3 } { 4 5 6 } { 7 8 9 } } determinant
9 ] unit-test
10
11 { -47860032 } [
12     {
13         { 40 39 38 37 }
14         { 1 1 1 831 }
15         { 22 22 1110 299 }
16         { 13 14 15 17 }
17     } determinant
18 ] unit-test