loggamma

loggamma(x : number) 🡒 number, autodiff pure function

The logarithm of the Gamma function, a commonly used extension of the factorial function to non-negative numbers. For any positive integer $n$, we have $\Gamma(n) = (n-1)!$

Example:

x = 1.5
lg = loggamma(x)
show scalar "" with lg