| Constructor and Description |
|---|
SignFunction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptNumParam(int numParam)
Returns true only for 1 parameter, false otherwise.
|
double |
of(double[] d,
int numParam)
The sign function returns 1 if the d[0] > 0, -1 if d[0] < 0, else 0.
|
String |
toString() |
public double of(double[] d,
int numParam)
public boolean acceptNumParam(int numParam)
acceptNumParam in interface FunctionCopyright © 2018. All rights reserved.