drasys.or
Interface FunctionsI
- All Known Implementing Classes:
- Functions
- public interface FunctionsI
An interface used by algorithms to access useful functions not supplied in 'java.lang.Math'.
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))'. |
lnGamma
public double lnGamma(double x)
- Returns the natural logarithm of the gama function of x 'y = ln(gama(x))'.
lnFactorial
public double lnFactorial(int x)
- Returns the natural logarithm of x factorial 'y = ln(x!)'.
binomialCoefficient
public double binomialCoefficient(int n,
int k)
- Returns the binomial coefficient: n!/(k!*(n-k)!)
Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com