AdvancedMathBeta Method (Double, Double, Double)
public static double Beta( double a, double b, double x )
Public Shared Function Beta ( a As Double, b As Double, x As Double ) As Double
public: static double Beta( double a, double b, double x )
static member Beta : a : float * b : float * x : float -> float
|ArgumentOutOfRangeException||a or b is negative, or x lies outside [0, 1].|
This function is defined by the same integral that defines the Beta function (Beta(Double, Double), but with the integral taken from 0 to x instead of from 0 to 1.
Note that in most mathematical literature, x is regarded as the first argument. We, however, follow the programming convention that optional arguments follow required ones, so x is the last argument of the method.
If you require the regularized function, use LeftRegularizedBeta(Double, Double, Double) to obtain it directly.