Click or drag to resize

SpecialFunctionsBeta Method

The beta function, beta(a, b) = Gamma(a) * Gamma(b) / Gamma(a+b). If either a or b = 0, -1, -2, ... then Double.NaN is returned.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double Beta(
	double a,
	double b
)

Parameters

a  Double
z parameter.
b  Double
w parameter.

Return Value

Double
The beta integral.
Remarks
The beta function is related to the gamma function as follows:
C#
B(a,b) = ( Gamma(a) * Gamma(b) ) / Gamma(a + b)
Sometimes the beta function is refered to as the Eulerian integral of the first kind.
See Also