numRecipes
Constructor and 説明 |
---|
SpecialFunctions() |
Modifier and Type | Method and 説明 |
---|---|
static double |
alogGamma(double xx)
log(Gamma(a)) function
|
static double |
binominal(double mu,
long n,
long m)
Binominal distribution nCm mu^m(1-mu)^(n-m)
|
static double |
gammaP(double a,
double x)
P(a x)= gamma(a,x)/Gamma(a) from 0 to x.
|
static double |
gammaQ(double a,
double x)
Q(a x)= Gamma(a,x)/Gamma(a) from 0 to x.
|
static double |
gauss(double mu,
double sigma,
double x)
Gaussian function
|
double |
getFunction(int functionIndex,
double[] parameters,
double x)
Method for interface
|
static double |
incompleteGammaDowntoX(double a,
double x)
Gamma(a,x)/Gamma(a) from x to infinity
|
static double |
incompleteGammaUptoX(double a,
double x)
gamma(a,x)/Gamma(a) from 0 to x
|
static double |
integrateGauss(double mu,
double sigma,
double lowerBound,
double upperBound)
Integration of the Gaussian function.
|
static double |
poisson(double mu,
long m)
Poisson distribution function
|
public static double alogGamma(double xx)
public static double incompleteGammaUptoX(double a, double x)
public static double incompleteGammaDowntoX(double a, double x)
public static double gammaP(double a, double x)
public static double gammaQ(double a, double x)
public static double gauss(double mu, double sigma, double x)
public static double poisson(double mu, long m)
public static double binominal(double mu, long n, long m)
public double getFunction(int functionIndex, double[] parameters, double x)
Method for interface. Interface the special functions given here to the utility routiner such as the Romberg Integration code that is desinged for a genereal function in form of Func(x). FunctionIndex 1 Gaussian gauss(mu, sigma, double x) parameters[0]=mu parameters[1]=sigma
getFunction
インタフェース {1} 内の {0} Function
public static double integrateGauss(double mu, double sigma, double lowerBound, double upperBound)