gammaln
Logarithm of gamma function
Syntax
Y = gammaln(A)
Description
Y = gammaln(A)
returns the logarithm of the gamma
function, gammaln(A)
= log(gamma(A))
. Input A
must be nonnegative
and real. The gammaln
command avoids the underflow
and overflow that may occur if it is computed directly using log(gamma(A))
.
Extended Capabilities
Version History
Introduced before R2006a
See Also
gammainc
| gammaincinv
| gamma
| psi