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