FLINT3.7.0-dev

acb_theta_sum_term

Synopsis#include <flint/acb_theta.h>
void acb_theta_sum_term(acb_t res, acb_srcptr z, const acb_mat_t tau, const slong * tup, const slong * n, slong prec)source

Sets res to n_0^{k_0} \cdots n_{g-1}^{k_{g-1}}\exp(\pi i(n^T \tau n + 2 n^T z)), where k = tup (or the zero tuple if tup is NULL). Used for testing.

Cite this page

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