_fmpz_poly_theta_qexp, fmpz_poly_theta_qexp
Synopsis
#include <flint/fmpz_poly.h>void fmpz_poly_theta_qexp(fmpz_poly_t f, slong e, slong n)sourceSet f to the q-expansion to length n of \vartheta(q)^e, where \vartheta(q) = 1 + 2 \sum_{k \ge 1} q^{k^2} is the Jacobi theta function. Sparse formulas are used for e = 1, 2, and power series arithmetic reduces other e to those.
Cite this page
The FLINT team, “_fmpz_poly_theta_qexp, fmpz_poly_theta_qexp (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/_fmpz_poly_theta_qexp.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-theta-qexp,
author = {{The FLINT team}},
title = {{\_fmpz\_poly\_theta\_qexp, fmpz\_poly\_theta\_qexp (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/_fmpz_poly_theta_qexp.html},
note = {Generated 2026-10-20}
}