padic_poly_realloc
Synopsis
#include <flint/padic_poly.h>void padic_poly_realloc(padic_poly_t poly, slong alloc, const fmpz_t p)sourceReallocates poly to have space for exactly alloc coefficients. If the length is larger, the polynomial is first truncated and canonicalised with respect to p. With alloc = 0 the polynomial is cleared and reinitialised, which also resets its precision to PADIC_DEFAULT_PREC.
Cite this page
The FLINT team, “padic_poly_realloc (padic_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/padic_poly/padic_poly_realloc.html (generated 2026-10-20).
@misc{flint-doc-padic-poly-padic-poly-realloc,
author = {{The FLINT team}},
title = {{padic\_poly\_realloc (padic\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/padic_poly/padic_poly_realloc.html},
note = {Generated 2026-10-20}
}