SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.analysis.differentiation.univariate
Class DBetaRegularized

java.lang.Object
  extended by com.numericalmethod.suanshu.analysis.function.rn2r1.UnivariateRealFunction
      extended by com.numericalmethod.suanshu.analysis.differentiation.univariate.DBetaRegularized
All Implemented Interfaces:
Function, RealScalarFunction

public class DBetaRegularized
extends UnivariateRealFunction

This class represents the first order derivative function of the Regularized Incomplete Beta function w.r.t x, the upper limit.

  d
 ----Bx(p, q) = xp-1 * (1 - x)q-1 / B(p, q)
  dx
 

See Also:
BetaRegularized, Wikipedia: Incomplete beta function

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.numericalmethod.suanshu.analysis.function.Function
Function.EvaluationException
 
Field Summary
 double p
          the shape parameter
 double q
          the shape parameter
 
Constructor Summary
DBetaRegularized(double p, double q)
          Construct the derivative function of the Regularized Incomplete Beta function with shape parameters p and q.
 
Method Summary
 double evaluate(double x)
          Evaluate dBx(p, q)/dx.
 
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

p

public final double p
the shape parameter


q

public final double q
the shape parameter

Constructor Detail

DBetaRegularized

public DBetaRegularized(double p,
                        double q)
Construct the derivative function of the Regularized Incomplete Beta function with shape parameters p and q.

Parameters:
p - the shape parameter
q - the shape parameter
Method Detail

evaluate

public double evaluate(double x)
Evaluate dBx(p, q)/dx.

Specified by:
evaluate in class UnivariateRealFunction
Parameters:
x - 0 ≤ x ≤ 1
Returns:
dBx(p, q)/dx

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.