public class IncompleteBeta
extends java.lang.Object
Constructor and Description |
---|
IncompleteBeta() |
Modifier and Type | Method and Description |
---|---|
static double |
betacf(double a,
double b,
double x)
Evaluates the continued fraction for the incomplete beta function by
modified Lentz's method.
|
static double |
betai(double a,
double b,
double x)
Computes the incomplete beta function I_x(a, b).
|
public static double betai(double a, double b, double x) throws IncompleteBetaException
a
- Argument a of incomplete beta.b
- Argument b of incomplete beta.x
- Argument x of incomplete beta.IncompleteBetaException
public static double betacf(double a, double b, double x) throws IncompleteBetaException
a
- Argument a of incomplete beta.b
- Argument b of incomplete beta.x
- Argument x of incomplete beta.IncompleteBetaException