Polygamma and digamma functions (polygamma)
Polygamma function: the n-th derivative of the digamma function.
How to write it
polygamma(n, z)
- n
- The order. Takes a whole number.
- z
- A number. Takes an expression.
polygamma(z)
The digamma function, the derivative of log_gamma: polygamma of order 0.
- z
- A number. Takes an expression.
Examples
polygamma(1, 1)In the solver,
Open in the solverpolygamma(1, 1)givespi^2/6.polygamma(1)In the solver,
Open in the solverpolygamma(1)gives-euler_gamma.
Related functions
- polylog
Polylogarithm.
- pochhammer
Rising factorial: x (x + 1) ... (x + n - 1).
- product_log
Lambert W function on its principal branch, also called the product logarithm.
- parabolic_cylinder_d
Parabolic cylinder function D.
- sin_integral
Sine integral: the integral of sin(t)/t from 0 to x.
- log_integral
Logarithmic integral li(x).