Statistics[EvaluateToFloat] - evaluate data using floating-point arithmetic
|
Calling Sequence
|
|
EvaluateToFloat(X)
|
|
Description
|
|
•
|
The EvaluateToFloat command evaluates to floating-point all elements in data. Each element of data can be any Maple expression, but this expression must be able to be evaluated to a floating-point number. Failure to evaluate to do so will generate an exception. By default the EvaluateToFloat attempts to represent the result using hardware data type. This can be changed by setting the UseHardwareFloats flag to false.
|
•
|
The first parameter X is a data sample which must given as an Array or a list.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
This will result in an error since A contains non-numeric data.
>
|
|
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
|
|
Download Help Document
Was this information helpful?