summaryrefslogtreecommitdiff
path: root/src/Scilab2C/SCI2CTests/Mes_tests/implicitList/mainfunctionImplicitList.sci
blob: e95628137adc3915240cb290557cabc4bbe30699 (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
//SCI2C: DEFAULT_PRECISION= DOUBLE

function mainfunction()

//test OpColon

//reals

disp(2:2)

disp(1:6)

disp(2:1:2)

disp(2:1:5)

disp(1:2:1)

disp(1:3:10)


//complexe

//2+%i:2-%i

//1+%i:6+%i*5

//2+%i*3:1-%i*4:2+%i*2

//2+%i:1+%i:5+%i

//1+%i:2+%i:1+%i

//1+%i:3+%i:10+%i

endfunction