fq_default_get_fmpz_poly, fq_default_set_fmpz_poly
Synopsis
#include <flint/fq_default.h>void fq_default_get_fmpz_poly(fmpz_poly_t a, const fq_default_t b, const fq_default_ctx_t ctx)sourcevoid fq_default_set_fmpz_poly(fq_default_t a, const fmpz_poly_t b, const fq_default_ctx_t ctx)sourceConvert between an element and an integer polynomial. fq_default_get_fmpz_poly sets a to the representative of b of degree less than d, with coefficients in [0, p). fq_default_set_fmpz_poly reduces the coefficients of b modulo p and the polynomial modulo the defining polynomial.
Guides#
Cite this page
The FLINT team, “fq_default_get_fmpz_poly, fq_default_set_fmpz_poly (fq_default.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_default/fq_default_get_fmpz_poly.html (generated 2026-10-20).
@misc{flint-doc-fq-default-fq-default-get-fmpz-poly,
author = {{The FLINT team}},
title = {{fq\_default\_get\_fmpz\_poly, fq\_default\_set\_fmpz\_poly (fq\_default.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_default/fq_default_get_fmpz_poly.html},
note = {Generated 2026-10-20}
}