type/nonreal
check for an object of type nonreal
Calling Sequence
Parameters
Description
Examples
type(x, nonreal)
type(x, nonreal(d))
x
-
expression
d
numeric type
The type(x, nonreal) function returns true if x is of the form , where b <> 0 and a (if present) and b are of type extended_numeric.
The type(x, nonreal(d)) function returns true if d is a numeric type, and x is of the form , where b <> 0 and a (if present) and b are of type d.
See Also
complex
evalc
Im
Re
type
type/complexcons
type/constant
type/embedded_real
type/extended_numeric
type/numeric
Download Help Document