blob: dedd8f1a4bcfe2ec191c42053d73c732140c68d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Test file for "vector" function for the data types double, float, double complex.
function vector()
a=[1,2,3,4]
disp(isvector(a))
disp('')
b= %i+2
disp(isvector(b))
disp('')
c= float([1,3,4;1,2,3])
disp(isvector(c))
disp('')
d= [%i*812; %i*12]
disp(isvector(d))
disp('')
endfunction
|