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 given by the contexts. With all_a (respectively all_b) zero, only (respectively ) is computed, otherwise all values; with tilde nonzero, the normalised are computed. The vector distances of length (common to all ) sets the precision added for each ; it may be zero, or the output of acb_theta_eld_distances, which is meaningful when the vectors 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-11-02).
@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-11-02}
}