fq_default_get_nmod_poly, fq_default_set_nmod_poly
Synopsis
#include <flint/fq_default.h>void fq_default_get_nmod_poly(nmod_poly_t poly, const fq_default_t op, const fq_default_ctx_t ctx)sourcevoid fq_default_set_nmod_poly(fq_default_t op, const nmod_poly_t poly, const fq_default_ctx_t ctx)sourceConvert between op and its representative of degree less than d in \mathbb{F}_p[x]. fq_default_set_nmod_poly accepts a polynomial of any degree and reduces it modulo the defining polynomial. The modulus of poly must be p; it is not checked. Only for the types FQ_DEFAULT_FQ_ZECH, FQ_DEFAULT_FQ_NMOD and FQ_DEFAULT_NMOD; the other types throw FLINT_ERROR.
Guides#
Cite this page
The FLINT team, “fq_default_get_nmod_poly, fq_default_set_nmod_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_nmod_poly.html (generated 2026-10-20).
@misc{flint-doc-fq-default-fq-default-get-nmod-poly,
author = {{The FLINT team}},
title = {{fq\_default\_get\_nmod\_poly, fq\_default\_set\_nmod\_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_nmod_poly.html},
note = {Generated 2026-10-20}
}