FLINT3.7.0-dev

fq_set_fmpz_poly, fq_set_fmpz_mod_poly

Synopsis#include <flint/fq.h>
void fq_set_fmpz_poly(fq_t a, const fmpz_poly_t b, const fq_ctx_t ctx)source
void fq_set_fmpz_mod_poly(fq_t a, const fmpz_mod_poly_t b, const fq_ctx_t ctx)source

Set a to the class of the polynomial b in \mathbb{F}_p[x]/(f), reducing the coefficients modulo p and the polynomial modulo f. b may have any length.

Cite this page

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