gr_jacobi_theta, gr_jacobi_theta_1, gr_jacobi_theta_2, gr_jacobi_theta_3, gr_jacobi_theta_4
Synopsis
#include <flint/gr_special.h>int gr_jacobi_theta(gr_ptr res1, gr_ptr res2, gr_ptr res3, gr_ptr res4, gr_srcptr z, gr_srcptr tau, gr_ctx_t ctx)sourceSet res to the Jacobi theta functions \theta_j(z, \tau), with the argument scaled by \pi as in acb_modular_theta (for example \theta_3(z, \tau) = \sum_{n \in \mathbb{Z}} q^{n^2} e^{2\pi i n z}); gr_jacobi_theta computes all four.
Cite this page
The FLINT team, “gr_jacobi_theta, gr_jacobi_theta_1, gr_jacobi_theta_2, gr_jacobi_theta_3, gr_jacobi_theta_4 (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_jacobi_theta.html (generated 2026-10-20).
@misc{flint-doc-gr-special-gr-jacobi-theta,
author = {{The FLINT team}},
title = {{gr\_jacobi\_theta, gr\_jacobi\_theta\_1, gr\_jacobi\_theta\_2, gr\_jacobi\_theta\_3, gr\_jacobi\_theta\_4 (gr\_special.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_special/gr_jacobi_theta.html},
note = {Generated 2026-10-20}
}