blob: 6b280eaa6e1553f478783699432463b4d0c98116 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Test file for "isscalar" function for the data types double, float, double complex.
function scalar()
a=[1,2,3,4]
disp(isscalar(a))
b= float(a)
disp(isscalar(b))
c= %i*2+34
disp(isscalar(c))
endfunction
|