Investment Studio > Expressions > Functions > Statistical > GAMMALN

float gammaln(float argument)

Returns the natural logarithm (see ln) of the gamma function (see gamma):

gammaln(argument) = ln(gamma(argument))

Example

=gammaln(5)

equals ln(gamma(5)) = 3.17805383034795.

See gamma for details about the gamma function.