nmod_poly_realloc
Synopsis
#include <flint/nmod_poly.h>void nmod_poly_realloc(nmod_poly_t poly, slong alloc)sourceChanges the allocated space of poly to alloc coefficients. If the length exceeds alloc, the polynomial is truncated to length alloc and normalised. For alloc = 0 the coefficients are freed and poly becomes zero.
Cite this page
The FLINT team, “nmod_poly_realloc (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/nmod_poly_realloc.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-nmod-poly-realloc,
author = {{The FLINT team}},
title = {{nmod\_poly\_realloc (nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly/nmod_poly_realloc.html},
note = {Generated 2026-10-20}
}