| Constructor and Description |
|---|
AvgFunction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptNumParam(int numParam)
Returns true for 1 or more parameters, false otherwise.
|
double |
of(double[] d,
int numParam)
Returns the average of the values in the array from [0, numParam).
|
String |
toString() |
public double of(double[] d,
int numParam)
public boolean acceptNumParam(int numParam)
acceptNumParam in interface FunctionCopyright © 2015. All rights reserved.