public class CombinFunction extends Object implements Function
PascalsTriangle
Constructor and Description |
---|
CombinFunction() |
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 number of ways r items can be chosen from n items.
|
String |
toString() |
public double of(double[] d, int numParam)
public boolean acceptNumParam(int numParam)
acceptNumParam
in interface Function
Copyright © 2016. All rights reserved.