FLINT3.7.0-dev

acb_theta_sum_work

Synopsis#include <flint/acb_theta.h>
void acb_theta_sum_work(acb_ptr th, slong len, acb_srcptr exp_z, acb_srcptr exp_z_inv, const acb_mat_t exp_tau, const acb_mat_t exp_tau_inv, const acb_ptr * sqr_pow, const acb_theta_eld_t E, slong ord, slong prec, acb_theta_sum_worker_t worker)source

Runs the summation over the ellipsoid E (g \ge 2), calling worker on each line, without adding a tail bound.

The entries (j, k), j \le k, of exp_tau and exp_tau_inv must contain \exp(\pi i (2 - \delta_{j,k}) \tau_{j,k}) and its inverse, sqr_pow the output of acb_theta_sum_sqr_pow, and exp_z, exp_z_inv the values \exp(2\pi i z_j) and their inverses for one vector z. The parameters len, ord and the output th are passed to the worker. These data are normally taken from contexts of type acb_theta_ctx_tau_t and acb_theta_ctx_z_t.

Cite this page

The FLINT team, “acb_theta_sum_work (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_work.html (generated 2026-10-20).