|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjebl.math.GammaFunction
public class GammaFunction
gamma function
| Constructor Summary | |
|---|---|
GammaFunction()
|
|
| Method Summary | |
|---|---|
static double |
incompleteGammaP(double a,
double x)
Incomplete Gamma function P(a,x) = 1-Q(a,x) (a cleanroom implementation of Numerical Recipes gammp(a,x); in Mathematica this function is 1-GammaRegularized) |
static double |
incompleteGammaP(double a,
double x,
double lnGammaA)
Incomplete Gamma function P(a,x) = 1-Q(a,x) (a cleanroom implementation of Numerical Recipes gammp(a,x); in Mathematica this function is 1-GammaRegularized) |
static double |
incompleteGammaQ(double a,
double x)
Incomplete Gamma function Q(a,x) (a cleanroom implementation of Numerical Recipes gammq(a,x); in Mathematica this function is called GammaRegularized) |
static double |
lnGamma(double alpha)
log Gamma function: ln(gamma(alpha)) for alpha>0, accurate to 10 decimal places |
| 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 lnGamma(double alpha)
alpha - argument
public static double incompleteGammaQ(double a,
double x)
a - parameterx - argument
public static double incompleteGammaP(double a,
double x)
a - parameterx - argument
public static double incompleteGammaP(double a,
double x,
double lnGammaA)
a - parameterx - argumentlnGammaA - precomputed lnGamma(a)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||