summaryrefslogtreecommitdiff
path: root/src/Scilab2C/SCI2CTests/Mes_tests/matrixOperations/mainfunctionZeros.sci
blob: 7b4b0f9df6c90441ae7cfdf4e59628be04684800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//SCI2C: DEFAULT_PRECISION= DOUBLE

function mainfunction()

//test zeros

//reals


//disp(zeros())

disp(zeros(1))

disp(zeros(4))

disp(zeros(1,1))

disp(zeros(1,4))

disp(zeros(4,4))

disp(zeros(4,1))

a=[1 2 3; 4 5 6; 7 8 9]

disp(zeros(a))

//complexe

disp(zeros(2+%i))

b=a+%i

disp(zeros(b))


endfunction