nmod_poly_mat_set_trunc, nmod_poly_mat_truncate
Synopsis
#include <flint/nmod_poly_mat.h>void nmod_poly_mat_set_trunc(nmod_poly_mat_t res, const nmod_poly_mat_t pmat, long len)sourcevoid nmod_poly_mat_truncate(nmod_poly_mat_t pmat, long len)sourceSets res to pmat with every entry truncated to length len (reduced modulo x^{\mathit{len}}), respectively truncates pmat in place.
Cite this page
The FLINT team, “nmod_poly_mat_set_trunc, nmod_poly_mat_truncate (nmod_poly_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly_mat/nmod_poly_mat_set_trunc.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-mat-nmod-poly-mat-set-trunc,
author = {{The FLINT team}},
title = {{nmod\_poly\_mat\_set\_trunc, nmod\_poly\_mat\_truncate (nmod\_poly\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly_mat/nmod_poly_mat_set_trunc.html},
note = {Generated 2026-10-20}
}