gammln
Natural logarithm of the Gamma function.
y=gammln(x)
Inputs
x Any real numeric array.
Outputs
y An array of the same size as x . Each element of the output is the logorithm of the gamma function of the corresponding element of the input.