Returns the value of the Beta function.

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

Syntax

C#
public static double Beta(
	double a,
	double b
)
Visual Basic (Declaration)
Public Shared Function Beta ( _
	a As Double, _
	b As Double _
) As Double
Visual C++
public:
static double Beta(
	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 Beta function.

Remarks

The Beta function is defined to be

\beta (a,b) = {{\Gamma (a)\Gamma (b)} \over 
            {\Gamma (a + b)}} = \int_0^1 {t^{a - 1} } (1 - t)^{b - 1} dt

See Gamma for the definition of \Gamma 
            \left( x \right).

The method Beta requires that both arguments be positive.

See Also