polygamma
- :
y =polygamma(n, z)¶ Polygamma function of order n (MATLAB Symbolic / Octave name).
Equivalent to
psi (n, z)in MATLAB R2026a base mathematics: the (n+1)-th derivative oflog (gamma (z)). In particularpolygamma (1, 1)equalspi^2/6.