public class MathExpression extends java.lang.Object implements Expression
Expression.SpreadExpressionEMPTY_DOUBLE_ARRAY, NaN, NOTHING| Constructor and Description |
|---|
MathExpression(java.lang.String script) |
| Modifier and Type | Method and Description |
|---|---|
double |
eval() |
double[] |
evalList()
Evaluate and return the result(s) of the function.
|
MathExpression |
setVariable(java.lang.String name,
double value) |
public MathExpression setVariable(java.lang.String name, double value)
public double eval()
eval in interface Expressionpublic double[] evalList()
evalList in interface ExpressionCopyright © 2016. All Rights Reserved.