fmpz_mod_poly_realloc
Synopsis
#include <flint/fmpz_mod_poly.h>void fmpz_mod_poly_realloc(fmpz_mod_poly_t poly, slong alloc, const fmpz_mod_ctx_t ctx)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 polynomial is cleared and reinitialised.
Cite this page
The FLINT team, “fmpz_mod_poly_realloc (fmpz_mod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_poly/fmpz_mod_poly_realloc.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mod-poly-fmpz-mod-poly-realloc,
author = {{The FLINT team}},
title = {{fmpz\_mod\_poly\_realloc (fmpz\_mod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mod_poly/fmpz_mod_poly_realloc.html},
note = {Generated 2026-10-20}
}