Returns whether a matrix or N-dimensional array is complex or real.
iscplx
// Define x x = { 1, 2i, 3 }; // Test if x is complex if iscplx(x); print "X is complex"; else; print "X is not complex"; endif;
See also
Functions hasimag(), iscplxf()
hasimag()
iscplxf()