com.numericalmethod.suanshu.analysis.differentiation.univariate
Class DBetaRegularized
java.lang.Object
com.numericalmethod.suanshu.analysis.function.rn2r1.AbstractRealScalarFunction
com.numericalmethod.suanshu.analysis.function.rn2r1.univariate.UnivariateRealFunction
com.numericalmethod.suanshu.analysis.differentiation.univariate.DBetaRegularized
- All Implemented Interfaces:
- Function<Vector,java.lang.Double>, RealScalarFunction
public class DBetaRegularized
- extends UnivariateRealFunction
This is the first order derivative function of the Regularized Incomplete Beta function, BetaRegularized, w.r.t the upper limit, x.
\[
{\partial \over \partial x} \mathrm{B_x}(p, q) = \frac{x^{p-1}(1-x)^{q-1}}{\mathrm{B_x}(p, q)}
\]
- See Also:
- Wikipedia: Incomplete beta function,
BetaRegularized
|
Method Summary |
double |
evaluate(double x)
Evaluate \({\partial \over \partial x} \mathrm{B_x}(p, q)\). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBetaRegularized
public DBetaRegularized(double p,
double q)
- Construct the derivative function of the Regularized Incomplete Beta function,
BetaRegularized.
- Parameters:
p - the shape parameterq - the shape parameter
evaluate
public double evaluate(double x)
- Evaluate \({\partial \over \partial x} \mathrm{B_x}(p, q)\).
- Specified by:
evaluate in class UnivariateRealFunction
- Parameters:
x - \(0 \le x \le 1\)
- Returns:
- \({\partial \over \partial x} \mathrm{B_x}(p, q)\)
Copyright © 2012 Numerical Method Inc. Ltd. All Rights Reserved.