blob: 08739198fe5d2cdb727fb20e2c3ad33a27d8740b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//SCI2C: DEFAULT_PRECISION= DOUBLE
function mainfunction()
//test acos
disp (acosh(7));
disp (acosh(2+11*%i))
c=[4 2 3 ;8 8 4; 3 4 5];
d=[4 2 3 ;8 8-1*%i 4; 3+4*%i 4 5];
disp (acosh(c))
disp (acosh(d))
endfunction
|