NumericClass - return the class of x
|
Calling Sequence
|
|
NumericClass(x)
|
|
Description
|
|
•
|
The NumericClass(x) function returns the class of x represented as a type. The class of x is described by a Maple type that recognizes
|
|
- the computation environment, and
|
|
- the numerical type of x.
|
•
|
If x is complex, then NumericClass(x) returns as narrowly constrained a type as possible to recognize x. To obtain precise information about the real and imaginary part of x separately, use NumericClass(Re(x)) and NumericClass(Im(x)).
|
|
|
Thread Safety
|
|
•
|
The NumericClass command is thread-safe as of Maple 15.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
|
|
Download Help Document
Was this information helpful?