|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Function interface represents a function that takes a number of inputs and returns a value. The number of inputs expected depends on the function. For example, the PiFunction returns the value of Pi regardless of the input. The CosFunction uses the value at index location 0. The PowFunction uses the values at index locations 0 and 1. See the FuncMap class for more information.
FuncMap
Method Summary | |
boolean |
acceptNumParam(int numParam)
Returns true if the numParam is an accurate representation of the number of inputs the function processes. |
double |
of(double[] param,
int numParam)
Takes the specified double array as input and returns a double value. |
Method Detail |
public double of(double[] param, int numParam)
public boolean acceptNumParam(int numParam)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |