acb_theta_sum_worker_t
#include <flint/acb_theta.h>acb_theta_sum_worker_tThe type of the function that processes one line (a one-dimensional slice) of an ellipsoid: void worker(acb_ptr th, acb_srcptr v1, acb_srcptr v2, const slong * precs, slong len, const acb_t c, const slong * coords, slong ord, slong g, slong prec, slong fullprec).
For a line with fixed n_1, \ldots, n_{g-1} and n_{\min} \le n_0 \le n_{\max}, the arguments are: the output th to which the terms are added; v_1 = (e^{\pi i j^2 \tau_{0,0}})_j and v_2 = (x^j)_j for n_{\min} \le j \le n_{\max} with x = e^{2\pi i z_0} \prod_{k \ge 1} e^{2\pi i n_k \tau_{0,k}}; the cofactor c = \prod_{k \ge 1} e^{2\pi i n_k z_k} \prod_{1\leq j\leq k < g} e^{\pi i (2 - \delta_{j,k}) n_j n_k \tau_{j,k}}; the working precision of each term in precs; the common length len = n_{\max} - n_{\min} + 1 of v1, v2 and precs; coords = (n_{\min}, n_1, \ldots, n_{g-1}); the derivation order ord; the precision prec of the line and fullprec for the sum. This lets the worker use acb_dot, with fewer than two complex multiplications per lattice point on average and with lower precision for points far from the center.
The FLINT team, “acb_theta_sum_worker_t (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_worker_t.html (generated 2026-10-20).
@misc{flint-doc-acb-theta-acb-theta-sum-worker-t,
author = {{The FLINT team}},
title = {{acb\_theta\_sum\_worker\_t (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_worker_t.html},
note = {Generated 2026-10-20}
}