gamma
Computes the gamma function at x.
The gamma function generalizes the factorial to real numbers: for positive integers, gamma(n) equals (n-1)!. Computed as the exponential of lnGamma.
Example:
gamma(5.0) // 24.0 (since Gamma(5) = 4! = 24)
gamma(0.5) // 1.7724... (sqrt(pi))Content copied to clipboard
Return
the value of the gamma function at x.
Parameters
x
the point at which to evaluate. Must be positive.