FLINT3.7.0-dev

gr_poly_truncate

Synopsis#include <flint/gr_poly.h>
int gr_poly_truncate(gr_poly_t res, const gr_poly_t poly, slong newlen, gr_ctx_t ctx)source

Sets res to poly reduced modulo x^{\mathit{newlen}}.

Cite this page

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