type/imaginary
check for an object of type imaginary
Calling Sequence
Parameters
Description
Examples
type(x, imaginary)
type(x, imaginary(d))
x
-
any expression
d
any numeric type
The type(x, imaginary) function returns true if x is a one argument complex constant, where is of type extended_numeric.
The type(x, imaginary(d)) function returns true if x is of type imaginary and is type d.
type(x, imaginary(d)) returns false if d is not a numeric type.
See Also
complex
Im
type
type/complexcons
type/constant
type/numeric
Download Help Document