summaryrefslogtreecommitdiff
path: root/src/Scilab2C/SCI2CTests/Mes_tests/elementary Functions/mainfunctionATanh.sci
blob: d81af8d7cf4a4c6b7e5249f88233b65c25c9d3e1 (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 atanh


disp (atanh(7/10));
disp (atanh((2+11*%i)/10))

c=[4 2 3 ;8 8 4; 3 4 5]/10
d=[4 2 3+3*%i ;8 8-1*%i 4; 3+4*%i 4 5]/10

disp (atanh(c))
disp (atanh(d))

endfunction