EvaluateToFloat - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Statistics

  

EvaluateToFloat

  

evaluate data using floating-point arithmetic

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

EvaluateToFloat(X)

Parameters

X

-

data sample

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 - given as e.g. a Vector.

Examples

(1)

This will result in an error since A contains non-numeric data.

Error, (in Statistics:-EvaluateToFloat) unable to evaluate a to floating-point

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

(11)

See Also

Statistics

Statistics[Computation]

Statistics[DataManipulation]

Statistics[RemoveInRange]

Statistics[RemoveNonNumeric]

Statistics[SelectInRange]

Statistics[SelectNonNumeric]

 


Download Help Document