This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Logarithm of gamma function


Y = gammaln(A)


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)).

More About

collapse all

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

Introduced before R2006a

Was this topic helpful?