Returns the logarithm of the Beta function.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static double LogBeta(
	double a,
	double b
)
Visual Basic (Declaration)
Public Shared Function LogBeta ( _
	a As Double, _
	b As Double _
) As Double
Visual C++
public:
static double LogBeta(
	double a, 
	double b
)

Parameters

a
Type: System..::.Double
A double value.
b
Type: System..::.Double
A double value.

Return Value

A double value specifying the natural logarithm of the Beta function.

Remarks

Method LogBeta computes {\rm ln} \, \beta 
            \left( {a,b} \right) = {\rm ln} \, \beta \left( {b,a} \right). See Beta for the definition of \beta \left( {a,b} 
            \right).

LogBeta is defined for a \gt 0 and b \gt 0. It returns accurate results even when a or b is very small. It can overflow for very large arguments; this error condition is not detected except by the computer hardware.

See Also