FLINT3.7.0-dev

fmpz_poly_set_nmod_poly, fmpz_poly_set_nmod_poly_unsigned

Synopsis#include <flint/fmpz_poly.h>
void fmpz_poly_set_nmod_poly(fmpz_poly_t res, const nmod_poly_t poly)source
void fmpz_poly_set_nmod_poly_unsigned(fmpz_poly_t res, const nmod_poly_t poly)source

Set res to the lift of poly with coefficients in the symmetric range [-m/2, m/2), respectively in [0, m), where m is the modulus of poly.

Guides#

Cite this page

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