Contents Previous Next Subchapters

Determines If All Elements Have Zero Imaginary Part
Syntax isreal(z)
See Also complex , real , type , imag

Description
Returns true, if the imaginary parts of all the elements of z are zero and false otherwise.

Example
If you enter
     z = [ 1r0, 1i0 ]
     isreal(z)
O-Matrix will respond
     F