The sign function. More...


Public Member Functions | |
| SignFunction () | |
| double | of (double[] d, int numParam) |
| The sign function returns 1 if the d[0] > 0, -1 if d[0] < 0, else 0. | |
| boolean | acceptNumParam (int numParam) |
| Returns true only for 1 parameter, false otherwise. | |
| String | toString () |
The sign function.
Definition at line 6 of file SignFunction.java.
| com.graphbuilder.math.func.SignFunction.SignFunction | ( | ) |
Definition at line 8 of file SignFunction.java.
| boolean com.graphbuilder.math.func.SignFunction.acceptNumParam | ( | int | numParam | ) |
Returns true only for 1 parameter, false otherwise.
Implements com.graphbuilder.math.func.Function.
Definition at line 22 of file SignFunction.java.
| double com.graphbuilder.math.func.SignFunction.of | ( | double[] | d, | |
| int | numParam | |||
| ) |
The sign function returns 1 if the d[0] > 0, -1 if d[0] < 0, else 0.
Implements com.graphbuilder.math.func.Function.
Definition at line 13 of file SignFunction.java.
| String com.graphbuilder.math.func.SignFunction.toString | ( | ) |
Definition at line 26 of file SignFunction.java.
1.6.1