public class GammaFunction extends Object
Constructor and Description |
---|
GammaFunction() |
Modifier and Type | Method and Description |
---|---|
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
|
public static double lnGamma(double alpha)
alpha
- argumentpublic static double incompleteGammaQ(double a, double x)
a
- parameterx
- argumentpublic static double incompleteGammaP(double a, double x)
a
- parameterx
- argumentpublic static double incompleteGammaP(double a, double x, double lnGammaA)
a
- parameterx
- argumentlnGammaA
- precomputed lnGamma(a)Copyright © 2015–2021 Fiji. All rights reserved.