Returns the value of the beta function at a given value.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public static double Beta(
	double z,
	double w
)
Visual Basic (Declaration)
Public Shared Function Beta ( _
	z As Double, _
	w As Double _
) As Double
Visual C++
public:
static double Beta(
	double z, 
	double w
)

Parameters

z
Type: System..::.Double
z parameter.
w
Type: System..::.Double
w parameter.

Return Value

The beta integral.

Remarks

The beta function is related to the gamma function as follows:
CopyC#
B(z,w) = ( Gamma(z) * Gamma(w) ) / Gamma(z + w)

See Also