summaryrefslogtreecommitdiff
path: root/tests/unit_tests/float/test_float_Det.sci
blob: 66519d97a65ef2253e30b72144bc0e8b625a39c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//SCI2C: DEFAULT_PRECISION= FLOAT
function test_float_Det()

	a = [1 2 3; 4 %pi 5; 4.5 -3 2];
	disp(det(a));

	b = %i * [1 2 3; 4 %pi 5; 4.5 -3 2];
	disp(det(b));


	disp(det(5));

	disp(det(%i));
endfunction