|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.analysis.function.rn2r1.UnivariateRealFunction
com.numericalmethod.suanshu.analysis.function.special.BetaRegularized
public class BetaRegularized
This class represents the Regularized Incomplete Beta function Bx(p, q).
1 /x
Bx(p, q) = ------- | tp-1(1 - t)q-1dt
B(p, q) /0
p > 0, q > 0
The R equivalent function is pbeta.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.numericalmethod.suanshu.analysis.function.Function |
|---|
Function.EvaluationException |
| Field Summary | |
|---|---|
double |
p
the shape parameter p |
double |
q
the shape parameter q |
| Constructor Summary | |
|---|---|
BetaRegularized(double p,
double q)
Construct an instance of Bx(p, q) with the parameters p and q. |
|
| Method Summary | |
|---|---|
double |
evaluate(double x)
Evaluate Bx(p, q). |
| Methods inherited from class com.numericalmethod.suanshu.analysis.function.rn2r1.UnivariateRealFunction |
|---|
dimension4Domain, dimension4Range, evaluate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final double p
p
public final double q
q
| Constructor Detail |
|---|
public BetaRegularized(double p,
double q)
Bx(p, q) with the parameters p and q.
p - p > 0q - q > 0| Method Detail |
|---|
public double evaluate(double x)
Bx(p, q).
evaluate in class UnivariateRealFunctionx - 0 <= x <= 1
Bx(p, q)
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||