PolyGamma
The polygamma function , the -th derivative of the digamma.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wikipedia
Polygamma functionMathWorldPolygammaFunctionWikidataQ857956DLMF5.15FungrimPolyGamma✓Fungrim entryWolfram LanguagePolyGamma!PolyGamma(m, z)the polygamma at real .Typed signatures
| Type | Package | Applies |
|---|---|---|
(order: integer, complex | infinity) -> number | compute-engine | always |
(number, number?) -> number | analyticreplaces compute-engine | always |
Details
- is the digamma — see Digamma — and the trigamma.
- For it is a Hurwitz zeta in disguise: . See HurwitzZeta.
- So at every order is a zeta value: , giving and .
- Half-integer arguments pick up the alternating zeta: .
- Recurrence from : , so .
- Poles at the nonpositive integers, of order — the poles of Gamma, differentiated.
- Real is compute-engine's own;
@enumeratio/analyticadds complex through the Euler–Maclaurin Hurwitz kernel, and the WGSL lowering for GPU plotting.
Plot
Examples
47 more kept as data, checked against the oraclesBasic #
Scope #
Threads over a list (each element a positive integer, so each takes its zeta closed form)
live ↗InOut
Properties #
Possible issues #
An exact non-integer argument is left unevaluated under plain evaluation -- pair with N() or use an inexact argument
live ↗InOut
About
| Examples | 76 |
|---|---|
| Checked against | Wolfram Language 74 agree2 differSageMath 66 agree2 differ3 errorSymPy 62 agree8 differ1 unevaluated1 errormpmath 56 agree10 errorJulia 60 agree7 differ1 unevaluated2 error |
| Crosswalk | WikipediaMathWorldWikidataDLMFFungrimFungrim entry ×28Wolfram LanguageSageMathSymPympmathJulia |
Implementation
mapped
wolframpackages/oracle/src/mappings.tsmpmath and Sage call it psi; the argument order matches.
mapped
sympypackages/oracle/src/mappings.tsmpmath and Sage call it psi; the argument order matches.
mapped
mpmathpackages/oracle/src/mappings.tsmpmath and Sage call it psi; the argument order matches.
mapped
sagepackages/oracle/src/mappings.tsmpmath and Sage call it psi; the argument order matches.
mapped
juliapackages/oracle/src/mappings.ts See also: Digamma, Gamma, HurwitzZeta, Zeta