summaryrefslogtreecommitdiff
path: root/tests/unit_tests/test_double_Det.sci
blob: 7c5f2fed158955f5099f71988662da76e26d10e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function test_double_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