The sum function. More...
Public Member Functions | |
SumFunction () | |
double | of (double[] d, int numParam) |
Returns the sum of the values in the array from [0, numParam). | |
boolean | acceptNumParam (int numParam) |
Returns true for 1 or more parameters, false otherwise. | |
String | toString () |
The sum function.
Definition at line 6 of file SumFunction.java.
com.graphbuilder.math.func.SumFunction.SumFunction | ( | ) |
Definition at line 8 of file SumFunction.java.
boolean com.graphbuilder.math.func.SumFunction.acceptNumParam | ( | int | numParam | ) |
Returns true for 1 or more parameters, false otherwise.
Implements com.graphbuilder.math.func.Function.
Definition at line 25 of file SumFunction.java.
double com.graphbuilder.math.func.SumFunction.of | ( | double[] | d, | |
int | numParam | |||
) |
Returns the sum of the values in the array from [0, numParam).
Implements com.graphbuilder.math.func.Function.
Definition at line 13 of file SumFunction.java.
String com.graphbuilder.math.func.SumFunction.toString | ( | ) |
Definition at line 29 of file SumFunction.java.