|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.javaml.utils.GammaFunction
public class GammaFunction
| Constructor Summary | |
|---|---|
GammaFunction()
|
|
| Method Summary | |
|---|---|
static double |
gamma(double x)
Returns the Gamma function of the argument. |
static double |
logGamma(double x)
Returns the natural logarithm of the gamma function; formerly named lgamma. |
static double |
stirlingFormula(double x)
Returns the Gamma function computed by Stirling's formula; formerly named stirf. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GammaFunction()
| Method Detail |
|---|
public static double stirlingFormula(double x)
throws java.lang.ArithmeticException
java.lang.ArithmeticException
public static double gamma(double x)
throws java.lang.ArithmeticException
java.lang.ArithmeticException
public static double logGamma(double x)
throws java.lang.ArithmeticException
java.lang.ArithmeticException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||