| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double Beta(
double a,
double b
)
Public Shared Function Beta (
a As Double,
b As Double
) As Double
public:
static double Beta(
double a,
double b
)
static member Beta :
a : float *
b : float -> float
Parameters
- a Double
- z parameter.
- b Double
- w parameter.
Return Value
DoubleThe beta integral.
Remarks
The beta function is related to the gamma function as follows:
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