Constructor and Description |
---|
SumFunction() |
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 sum 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 Function
Copyright © 2024. All rights reserved.