FLINT3.7.0-dev

_fmpz_poly_theta_qexp, fmpz_poly_theta_qexp

Synopsis#include <flint/fmpz_poly.h>
void _fmpz_poly_theta_qexp(fmpz * f, slong e, slong n)source
void fmpz_poly_theta_qexp(fmpz_poly_t f, slong e, slong n)source

Set ff to the qq-expansion to length nn of ϑ(q)e\vartheta(q)^e, where ϑ(q)=1+2∑k≥1qk2\vartheta(q) = 1 + 2 \sum_{k \ge 1} q^{k^2} is the Jacobi theta function. Sparse formulas are used for e=1,2e = 1, 2, and power series arithmetic reduces other ee 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-11-02).