acb_dirichlet_l_fmpq_afe_jet
#include <flint/acb_dirichlet.h>void acb_dirichlet_l_fmpq_afe_jet(acb_ptr res, const fmpq_t s, const dirichlet_group_t G, const dirichlet_char_t chi, int deflate, slong len, slong prec)sourceSets res to the Taylor coefficients for rational , with deflate as in acb_dirichlet_l_jet. This uses the same approximate functional equation and precision management as acb_dirichlet_l_fmpq_afe, with every quantity replaced by a power series in where . The required expansions of the incomplete gamma functions with respect to the parameter are computed by jet versions of the binary splitting and bit-burst algorithms (see _arb_gamma_upper_fmpq_step_bsplit_jet), with truncation errors bounded separately for each coefficient. For fixed len, the cost is at precision , roughly len times the cost of acb_dirichlet_l_fmpq_afe; this makes it possible to compute, for example, Glaisher's constant (via ), Stieltjes constants and their generalizations to Dirichlet -functions, or the second-order Landau-Ramanujan constant (via and at ) in quasi- time. An imprimitive character modulo induced by is handled by evaluating and multiplying by the Euler factors . The deflation only has an effect for (as in acb_dirichlet_zeta_jet); for the Riemann zeta function at , deflate must be set, and for a principal character modulo , deflate must not be set; otherwise the output is indeterminate.
The terms of the approximate functional equation are independent, and are computed in parallel when FLINT is allowed to use several threads (see flint_set_num_threads). The terms are added up in a fixed order, so the output does not depend on the number of threads. Each term is added as soon as all earlier terms are done; a term that finishes early waits in a small buffer (a few terms per thread), so the memory usage is bits with threads, independent of the number of terms . The same applies to acb_dirichlet_l_fmpq_afe, which is the case len = 1 of this function.
The FLINT team, “acb_dirichlet_l_fmpq_afe_jet (acb_dirichlet.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_dirichlet/acb_dirichlet_l_fmpq_afe_jet.html (generated 2026-11-02).
@misc{flint-doc-acb-dirichlet-acb-dirichlet-l-fmpq-afe-jet,
author = {{The FLINT team}},
title = {{acb\_dirichlet\_l\_fmpq\_afe\_jet (acb\_dirichlet.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_dirichlet/acb_dirichlet_l_fmpq_afe_jet.html},
note = {Generated 2026-11-02}
}