FUNCTION REFERENCE

gammaln

Logarithm of the gamma function.

Logarithm of the gamma function.

Syntax

y = gammaln(x)

Elementwise log(Gamma(x)) for real x >= 0 without overflow for large x.

Example

gammaln(10)   % 12.8018

Differences from MATLAB: Real double and logical input only.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.