public static double LogGamma( double x )
Public Shared Function LogGamma ( x As Double ) As Double
public: static double LogGamma( double x )
static member LogGamma : x : float -> float
|ArgumentOutOfRangeException||x is negative or zero.|
Because Γ(x) grows rapidly for increasing positive x, it is often necessary to work with its logarithm in order to avoid overflow. This function returns accurate values of ln(Γ(x)) even for values of x which would cause Γ(x) to overflow.