|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.graphbuilder.math.func.FactFunction
The factorial function.
| Constructor Summary | |
FactFunction()
|
|
| Method Summary | |
boolean |
acceptNumParam(int numParam)
Returns true only for 1 parameter, false otherwise. |
double |
of(double[] d,
int numParam)
Takes the (int) of the value at index location 0 and computes the factorial of that number. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FactFunction()
| Method Detail |
public double of(double[] d,
int numParam)
of in interface Functionpublic boolean acceptNumParam(int numParam)
acceptNumParam in interface Functionpublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||