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