AdvancedMathBeta Method (Double, Double, Double) |
Namespace: Meta.Numerics.Functions
Exception | Condition |
---|---|
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.