FLINT3.7.0-dev

gr_dirichlet_eta, gr_dirichlet_beta

Synopsis#include <flint/gr_special.h>
int gr_dirichlet_eta(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source
int gr_dirichlet_beta(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source

Set res to the Dirichlet eta function \eta(s) = (1 - 2^{1-s}) \zeta(s) and the Dirichlet beta function \beta(s) = \sum_{k \ge 0} (-1)^k (2k+1)^{-s}. gr_dirichlet_beta is implemented for real and complex balls, as the Dirichlet L-function of the nontrivial character modulo 4 (acb_dirichlet_l).

Cite this page

The FLINT team, “gr_dirichlet_eta, gr_dirichlet_beta (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_dirichlet_eta.html (generated 2026-10-20).