FUNCTION REFERENCE

psi

Digamma and polygamma functions.

Digamma and polygamma functions.

Syntax

Y = psi(X)

Syntax

Y = psi(K, X)

psi(X) is the derivative of gammaln; psi(K, X) is its K-th derivative. X must be real and nonnegative; psi(0) is -Inf.

Example

psi(1)   % -0.5772

Differences from MATLAB: none known.

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