GAMMALN function
Description
GAMMALN(x) returns the logarithm of the Gamma function of x.
The argument x can be a real number or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the GAMMALN function applied to all elements.