|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Function is the interface that all functions must implement to be referenced
and executed by the interpreter. All functions should take an array of Double
arguments and return a Double value.
FunctionFactory| Method Summary | |
double |
evaluate(double[] args)
Evaluate the function with the given arguments. |
java.lang.String |
getName()
Get the name of the function. |
int |
maxArgumentCount()
The maximum number of arguments the function can take. |
int |
minArgumentCount()
The minimum number of arguments the function can take. |
| Method Detail |
public double evaluate(double[] args)
public int minArgumentCount()
public int maxArgumentCount()
public java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||