The combination function. More...
Public Member Functions | |
CombinFunction () | |
double | of (double[] d, int numParam) |
Returns the number of ways r items can be chosen from n items. | |
boolean | acceptNumParam (int numParam) |
Returns true only for 2 parameters, false otherwise. | |
String | toString () |
The combination function.
Definition at line 10 of file CombinFunction.java.
com.graphbuilder.math.func.CombinFunction.CombinFunction | ( | ) |
Definition at line 12 of file CombinFunction.java.
boolean com.graphbuilder.math.func.CombinFunction.acceptNumParam | ( | int | numParam | ) |
Returns true only for 2 parameters, false otherwise.
Implements com.graphbuilder.math.func.Function.
Definition at line 27 of file CombinFunction.java.
double com.graphbuilder.math.func.CombinFunction.of | ( | double[] | d, | |
int | numParam | |||
) |
Returns the number of ways r items can be chosen from n items.
The value of n is (int) d[0] and the value of r is (int) d[1].
Implements com.graphbuilder.math.func.Function.
Definition at line 18 of file CombinFunction.java.
String com.graphbuilder.math.func.CombinFunction.toString | ( | ) |
Definition at line 31 of file CombinFunction.java.