FLINT3.7.0-dev

fq_zech_get_nmod_poly, fq_zech_set_nmod_poly

Synopsis#include <flint/fq_zech.h>
void fq_zech_get_nmod_poly(nmod_poly_t a, const fq_zech_t b, const fq_zech_ctx_t ctx)source
void fq_zech_set_nmod_poly(fq_zech_t a, const nmod_poly_t b, const fq_zech_ctx_t ctx)source

Convert between an element and its representative in \mathbb{F}_p[x]. fq_zech_get_nmod_poly also sets the modulus of a to p. fq_zech_set_nmod_poly accepts a polynomial of any length, using g^{q-1} = 1 to reduce exponents.

Cite this page

The FLINT team, “fq_zech_get_nmod_poly, fq_zech_set_nmod_poly (fq_zech.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_zech/fq_zech_get_nmod_poly.html (generated 2026-10-20).