NumericClass
return the class of x
Calling Sequence
Parameters
Description
Thread Safety
Examples
NumericClass(x)
x
-
expression
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)).
The NumericClass command is thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
See Also
float
HFloat
Im
numeric_types
numerics
Re
whattype
Download Help Document