type/embedded_real - check for an object of type embedded_real
type/embedded_imaginary - check for an object of type embedded_imaginary
type/embedded_axis - check for an object of type embedded_axis
|
Calling Sequence
|
|
type(x, embedded_real)
type(x, embedded_real(d))
type(x, embedded_imaginary)
type(x, embedded_imaginary(d))
type(x, embedded_axis)
type(x, embedded_axis(d))
|
|
Parameters
|
|
x
|
-
|
any expression
|
d
|
-
|
any numeric type
|
|
|
|
|
Description
|
|
•
|
The type(x, embedded_real) function returns true if x is of type complex(extended_numeric) and .
|
|
The type(x, embedded_real(d)) function is the same as type(x, embedded_real) and type(Re(x), d).
|
•
|
The type(x, embedded_imaginary) function returns true if x is of type nonreal and .
|
|
The type(x, embedded_imaginary(d)) function is the same as type(x, embedded_imaginary) and type(Im(x), d).
|
•
|
The type(x, embedded_axis) function returns true if x is either an embedded_real or an embedded_imaginary.
|
|
The type(x, embedded_axis(d)) function is the same as type(x, embedded_real(d)) or type(x, embedded_imaginary(d)).
|
•
|
Each of the structured types (where d is given) returns false if d is not a numeric type.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
|
|
Download Help Document
Was this information helpful?