StieltjesGamma
The Stieltjes constants
Wikipedia
Stieltjes constantsMathWorldStieltjesConstantsWikidataQ1816316DLMF25.2.E5FungrimStieltjesGamma✓Fungrim entryWolfram LanguageStieltjesGammaStieltjesGamma(n)the StieltjesGamma(n, a)the generalized Stieltjes constant Details
is Euler's constant; , . They have no closed forms beyond . ; for this is the definition of Euler's constant. - Generalized:
, so and , the negated digamma. Shift: . Poles at . - Same normalisation as Wolfram's
and mpmath's `stieltjes(n, a)`. Complex supported. - Numerically, Euler–Maclaurin on
. In double precision the partial sum and the subtracted term cancel more and more with : about relative through , at , at — and orders past 30 are left unevaluated rather than returned wrong.
Examples
Implementation
primitive · numericirreducibly numeric — it evaluates rather than rewrites
nativeengine
typescriptpackages/analytic/src/stieltjes.tsmappedexternal
wolfram / mpmathpackages/oracle/src/mappings.tsStieltjesGamma[n, a]; mpmath.stieltjes(n, a).
See also: Zeta, HurwitzZeta, EulerGamma, Digamma