type/imaginary - check for an object of type imaginary
|
Calling Sequence
|
|
type(x, imaginary)
type(x, imaginary(d))
|
|
Parameters
|
|
x
|
-
|
any expression
|
d
|
-
|
any numeric type
|
|
|
|
|
Description
|
|
•
|
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.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|
Download Help Document
Was this information helpful?