smile.math.special
Class Beta
- java.lang.Object
-
- smile.math.special.Beta
-
public class Beta extends java.lang.ObjectThe beta function, also called the Euler integral of the first kind.B(x, y) = ∫01 tx-1 (1-t)y-1dt
for x, y > 0 and the integration is over [0,1].The beta function is symmetric, i.e. B(x,y) = B(y,x).
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doublebeta(double x, double y)Beta function, also called the Euler integral of the first kind.static doubleinverseRegularizedIncompleteBetaFunction(double alpha, double beta, double p)Inverse of regularized incomplete beta function.static doubleregularizedIncompleteBetaFunction(double alpha, double beta, double x)Regularized Incomplete Beta function.
-
-
-
Method Detail
-
beta
public static double beta(double x, double y)Beta function, also called the Euler integral of the first kind. The beta function is symmetric, i.e. B(x,y)==B(y,x).
-
regularizedIncompleteBetaFunction
public static double regularizedIncompleteBetaFunction(double alpha, double beta, double x)Regularized Incomplete Beta function. Continued Fraction approximation (see Numerical recipies for details)
-
inverseRegularizedIncompleteBetaFunction
public static double inverseRegularizedIncompleteBetaFunction(double alpha, double beta, double p)Inverse of regularized incomplete beta function.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG