FLINT3.7.0-dev

nf_elem_get_nmod_poly_den, nf_elem_get_nmod_poly

Synopsis#include <flint/nf_elem.h>
void nf_elem_get_nmod_poly_den(nmod_poly_t pol, const nf_elem_t a, const nf_t nf, int den)source
void nf_elem_get_nmod_poly(nmod_poly_t pol, const nf_elem_t a, const nf_t nf)source

Set pol to the reduction of the numerator of a modulo the modulus n of pol; if den is nonzero (always for nf_elem_get_nmod_poly), multiply it by the inverse of the denominator modulo n, which must exist.

Cite this page

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