AdvancedMathLogBeta Method |
Computes the logarithm of the Beta function.
Namespace:
Meta.Numerics.Functions
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static double LogBeta(
double a,
double b
)
Public Shared Function LogBeta (
a As Double,
b As Double
) As Double
public:
static double LogBeta(
double a,
double b
)
static member LogBeta :
a : float *
b : float -> float
Parameters
- a
- Type: SystemDouble
The first parameter, which must be positive. - b
- Type: SystemDouble
The second parameter, which must be positive.
Return Value
Type:
DoubleThe value of ln(B(a,b)).
Exceptions 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