type/complexcons - check for a complex constant
|
Calling Sequence
|
|
type(x, complexcons)
|
|
Description
|
|
•
|
The call type(x, complexcons) checks if x is a complex constant. A complex constant is infinity, -infinity, or an expression (with no indeterminates of type name) for which evalf returns a number of the form where a and b are floating-point numbers.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
|
|
Download Help Document
Was this information helpful?