acb_theta_sum
Synopsis
#include <flint/acb_theta.h>void acb_theta_sum(acb_ptr th, const acb_theta_ctx_z_struct * vec, slong nb, const acb_theta_ctx_tau_t ctx_tau, arb_srcptr distances, int all_a, int all_b, int tilde, slong prec)sourceEvaluates theta functions by summation at the nb pairs (z, \tau) given by the contexts. With all_a (respectively all_b) zero, only a = 0 (respectively b = 0) is computed, otherwise all values; with tilde nonzero, the normalised \widetilde{\theta}_{a,b} are computed. The vector distances of length 2^g (common to all z) sets the precision added for each a; it may be zero, or the output of acb_theta_eld_distances, which is meaningful when the vectors z differ by real vectors.
Guides#
Cite this page
The FLINT team, “acb_theta_sum (acb_theta.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_theta/acb_theta_sum.html (generated 2026-10-20).
@misc{flint-doc-acb-theta-acb-theta-sum,
author = {{The FLINT team}},
title = {{acb\_theta\_sum (acb\_theta.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_theta/acb_theta_sum.html},
note = {Generated 2026-10-20}
}