FLINT3.7.0-dev

fq_nmod_poly_truncate

Synopsis#include <flint/fq_nmod_poly.h>
void fq_nmod_poly_truncate(fq_nmod_poly_t poly, slong len, const fq_nmod_ctx_t ctx)

Truncates poly to length at most len (that is, reduces it modulo x^{\mathit{len}}) and normalises it.

Generated from the same template as fq_poly_truncate, whose documentation has the details.

Cite this page

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