FLINT3.7.0-dev

nf_elem_set_fmpq_poly

Synopsis#include <flint/nf_elem.h>
void nf_elem_set_fmpq_poly(nf_elem_t a, const fmpq_poly_t pol, const nf_t nf)source

Sets a to the image of the canonical polynomial pol in K, reducing it modulo f if its degree is at least d.

Cite this page

The FLINT team, “nf_elem_set_fmpq_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_set_fmpq_poly.html (generated 2026-10-20).