|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmath_utils.HelperFuncs
public class HelperFuncs
Helper functions for statistical computations. Used by TailProbs. Many of the implementations here are borrowed from Numerical Recipes (Ch. 6).
Constructor Summary | |
---|---|
HelperFuncs()
|
Method Summary | |
---|---|
static double |
betacf(double a,
double b,
double x)
Used by betai(): Evaluates continued fraction for incomplete beta function by modified Lentz's method. |
static double |
betai(double a,
double b,
double x)
Returns the incomplete beta function Ix(a,b). |
static double |
erff(double x)
Returns the error-function erf(x). |
static double |
erffc(double x)
Returns the complementary error-function erfc(x)=1-erf(x). |
static double |
gammln(double xx)
Returns the value ln(Gamma(xx)) for xx>0. |
static double |
gammp(double a,
double x)
Returns the incomplete gamma function P(a,x). |
static double |
gammq(double a,
double x)
Returns the incomplete gamma function Q(a,x)=1-P(a,x). |
static double |
gcf(double a,
double x)
Returns the incomplete gamma function Q(a,x) evaluated by its continued fraction representation. |
static double |
gser(double a,
double x)
Returns the incomplete gamma function P(a,x) evaluated by its series representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HelperFuncs()
Method Detail |
---|
public static double gammp(double a, double x)
public static double gammq(double a, double x)
public static double gser(double a, double x)
public static double gcf(double a, double x)
public static double gammln(double xx)
public static double betai(double a, double b, double x)
public static double betacf(double a, double b, double x)
public static double erff(double x)
public static double erffc(double x)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |