Method on @sym: gammaln (x)
Method on @sym: lgamma (x)

Symbolic logarithm of the gamma function.

Example:

syms x
y = gammaln(x)
  ⇒ y = (sym) loggamma(x)
y = lgamma(x)
  ⇒ y = (sym) loggamma(x)

See also: gammaln, @sym/gamma, @sym/psi.

Package: symbolic