fmpq_poly_get_nmod_poly, fmpq_poly_get_nmod_poly_den
Synopsis
#include <flint/fmpq_poly.h>void fmpq_poly_get_nmod_poly(nmod_poly_t rop, const fmpq_poly_t op)sourcevoid fmpq_poly_get_nmod_poly_den(nmod_poly_t rop, const fmpq_poly_t op, int den)sourceSet rop to the reduction of op modulo the modulus m of rop: the numerator coefficients are reduced modulo m and, by fmpq_poly_get_nmod_poly and by fmpq_poly_get_nmod_poly_den with den nonzero, multiplied by the inverse of the denominator modulo m, which must exist (not checked). With den = 0 only the numerator is reduced.
Cite this page
The FLINT team, “fmpq_poly_get_nmod_poly, fmpq_poly_get_nmod_poly_den (fmpq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_poly/fmpq_poly_get_nmod_poly.html (generated 2026-10-20).
@misc{flint-doc-fmpq-poly-fmpq-poly-get-nmod-poly,
author = {{The FLINT team}},
title = {{fmpq\_poly\_get\_nmod\_poly, fmpq\_poly\_get\_nmod\_poly\_den (fmpq\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_poly/fmpq_poly_get_nmod_poly.html},
note = {Generated 2026-10-20}
}