AdvancedMath.LogBeta Method
Click or drag to resize

AdvancedMathLogBeta Method

Computes the logarithm of the Beta function.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public static double LogBeta(
	double a,
	double b
)

Parameters

a
Type: SystemDouble
The first parameter, which must be positive.
b
Type: SystemDouble
The second parameter, which must be positive.

Return Value

Type: Double
The value of ln(B(a,b)).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiona or b is negative or zero.
Remarks

This function accurately computes ln(B(a,b)) even for values of a and b for which B(a,b) is too small or large to be represented by a double.

See Also