Credits Overview Plotting Styles Commands Terminals

lngamma

The lnGamma(x) function returns the natural logarithm of the gamma function. This implementation uses a Lanczos approximation valid over the entire complex plane. The imaginary component of the result is phase-shifted to yield a continuous surface everywhere except the negative real axis.