The logarithm of gamma function.
y = gammaln(x)
real vector
real vector with same size.
gammaln(x) evaluates the logarithm of gamma
function at all the elements of x, avoiding underflow
and overflow. x must be real.
gammaln(0.5)
W. J. Cody and L. Stoltz (code from Netlib (specfun))