Constructor and Description |
---|
ModFunction() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptNumParam(int numParam)
Returns true only for 2 parameters, false otherwise.
|
double |
of(double[] d,
int numParam)
Returns the value of x % y, where x = d[0] and y = d[1].
|
String |
toString() |
public double of(double[] d, int numParam)
public boolean acceptNumParam(int numParam)
acceptNumParam
in interface Function
Copyright © 2024. All rights reserved.