FLINT3.7.0-dev

acb_dirichlet_theta_length, acb_dirichlet_theta_length_d

Synopsis#include <flint/acb_dirichlet.h>
ulong acb_dirichlet_theta_length(ulong q, const arb_t t, slong prec)source
ulong acb_dirichlet_theta_length_d(ulong q, double t, slong prec)source

Return a number of terms NN such that the tail of the theta series of modulus qq at tt is less than 2−prec2^{-\text{prec}}. The first version uses a lower bound for tt.

Cite this page

The FLINT team, “acb_dirichlet_theta_length, acb_dirichlet_theta_length_d (acb_dirichlet.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_dirichlet/acb_dirichlet_theta_length.html (generated 2026-11-02).