nmod_mpoly_truncate
Synopsis
#include <flint/nmod_mpoly.h>void nmod_mpoly_truncate(nmod_mpoly_t A, slong newlen, const nmod_mpoly_ctx_t ctx)sourceReduces the length of A to newlen if it is longer, keeping the newlen leading terms. The result is canonical.
Cite this page
The FLINT team, “nmod_mpoly_truncate (nmod_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mpoly/nmod_mpoly_truncate.html (generated 2026-10-20).
@misc{flint-doc-nmod-mpoly-nmod-mpoly-truncate,
author = {{The FLINT team}},
title = {{nmod\_mpoly\_truncate (nmod\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_mpoly/nmod_mpoly_truncate.html},
note = {Generated 2026-10-20}
}