Skip to main content

hurwitz_zeta

Function hurwitz_zeta 

Source
pub fn hurwitz_zeta(s: f64, a: f64) -> f64
Expand description

The Hurwitz zeta function ζ(s, a) = Σ_{k≥0} (k + a)^{−s} for s > 1 and a > 0, by Euler-Maclaurin summation (relative error near 1e-15). ζ(s, 1) = ζ(s).