Special.RegularizedBeta Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

RegularizedBeta(Double, Double) Returns a function that evaluates the Regularized Beta function for fixed shape parameters.
RegularizedBeta(Double, Double, Double) Evaluates the Regularized Beta function.

RegularizedBeta(Double, Double)

Returns a function that evaluates the Regularized Beta function for fixed shape parameters.
C#
public static Func<double, double> RegularizedBeta(
	double a,
	double b
)

Parameters

a  Double
The first shape parameter.
b  Double
The second shape parameter.

Return Value

Func<Double, Double>
A function that evaluates the regularized Beta function with shape parameters a and b.

Remarks

The regularized Beta function is the ratio of the IncompleteBeta(Double, Double, Double) function to the complete (or ordinary) Beta(Double, Double) function. It is sometimes referred to as the normalized incomplete beta function, or even the incomplete Beta function. Care should be taken when using these methods that the correct method is called.

RegularizedBeta(Double, Double, Double)

Evaluates the Regularized Beta function.
C#
public static double RegularizedBeta(
	double a,
	double b,
	double x
)

Parameters

a  Double
The first shape parameter.
b  Double
The second shape parameter.
x  Double
A real number between 0 and 1.

Return Value

Double
The regularized Beta function evaluated for the specified arguments.

Remarks

The regularized Beta function is the ratio of the IncompleteBeta(Double, Double, Double) function to the complete (or ordinary) Beta(Double, Double) function. It is sometimes referred to as the normalized incomplete beta function, or even the incomplete Beta function. Care should be taken when using these methods that the correct method is called.

Exceptions

ArgumentOutOfRangeExceptionx is less than zero or greater than 1.

See Also