Algorithms for the Hurwitz zeta function¶
Euler-Maclaurin summation¶
The Euler-Maclaurin formula allows evaluating the Hurwitz zeta function and its derivatives for general complex input. The algorithm is described in [Joh2013].
Parameter Taylor series¶
To evaluate \(\zeta(s,a)\) for several nearby parameter values, the following Taylor expansion is useful:
We assume that \(a \ge 1\) is real and that \(\sigma = \operatorname{re}(s)\) with \(K + \sigma > 1\). The tail is bounded by
Denote the term on the right by \(T(k)\). Then
and if \(C < 1\),