| Package | Description |
|---|---|
| Maths |
Provides maths classes.
|
| Modifier and Type | Method and Description |
|---|---|
CompiledFunction |
MathsParse.compileFunction(java.lang.String equation)
Parses an equation and returns a compiled function that can then be used
to compute the value fo an equation.
|
double |
FunctionParser.evaluate(java.lang.String function,
java.lang.Double[] variables)
A function that evaluates all the functions implemented
|
int |
FunctionParser.numberInputs(java.lang.String function)
Returns the number of inputs a function expects to be passed
|
double |
MathsParse.parseEquation(java.lang.String equation,
java.util.Map<java.lang.String,java.lang.Double> values)
Parses an equation and returns the result
|
| Constructor and Description |
|---|
CompiledFunction.Function(FunctionParser p,
java.lang.String name,
CompiledFunction[] inputs)
Default constructor
|