|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvec_math.Gamma
public class Gamma
Class containing statically versions of the gamma and incomplete gamma function. Lit: Num.Rec. p206ff.
| Nested Class Summary | |
|---|---|
static class |
Gamma.Erf
Error function. |
static class |
Gamma.InverseErf
Inverse of error function: determine the argument, where erf(x) = the given vaule. |
| Field Summary | |
|---|---|
protected static double |
EPS
|
protected static double |
FPMIN
|
static double[] |
GAMCOEF
|
protected static int |
ITERMAX
|
static double |
SER
|
static double |
STP
|
| Constructor Summary | |
|---|---|
Gamma()
|
|
| Method Summary | |
|---|---|
static double |
betai(double a,
double b,
double x)
|
private static double |
contFrac(double a,
double b,
double x)
|
static double |
erf(double x)
|
static double |
erfc(double x)
|
protected static double |
gammcf(double a,
double x)
Does not check right range on a,x; returns 1-P(a,x) |
static double |
gammln(double x)
Calculates the ln of Gamma(x) if x>0. |
static double |
gammp(double a,
double x)
|
static double |
gammq(double a,
double x)
Returns the incomplete gamma functon 1-P(a,x). |
protected static double |
gamser(double a,
double x)
Does not check for right range in a,x; returns P(a,x) |
static void |
main(String[] arg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double[] GAMCOEF
public static final double STP
public static final double SER
protected static final int ITERMAX
protected static final double EPS
protected static final double FPMIN
| Constructor Detail |
|---|
public Gamma()
| Method Detail |
|---|
public static double gammln(double x)
x -
public static double gammq(double a,
double x)
a - x -
public static double gammp(double a,
double x)
public static double erf(double x)
public static double erfc(double x)
public static double betai(double a,
double b,
double x)
private static final double contFrac(double a,
double b,
double x)
protected static double gamser(double a,
double x)
a - x -
protected static double gammcf(double a,
double x)
a - x -
public static void main(String[] arg)
arg -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||