|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--drasys.or.Functions
A class containing common functions not supplied in 'java.lang.Math'.
| Constructor Summary | |
Functions()
|
|
| Method Summary | |
double |
binomialCoefficient(int n,
int k)
Returns the binomial coefficient: n!/(k!*(n-k)!) |
double |
lnFactorial(int x)
Returns the natural logarithm of x factorial 'y = ln(x!)'. |
double |
lnGamma(double x)
Returns the natural logarithm of the gama function of x 'y = ln(gama(x))'. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Functions()
| Method Detail |
public double binomialCoefficient(int n,
int k)
public double lnGamma(double x)
public double lnFactorial(int x)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||