gr_poly_vec_fit_length, gr_poly_vec_set_length
Synopsis
#include <flint/gr_poly.h>void gr_poly_vec_fit_length(gr_poly_vec_t vec, slong len, gr_ctx_t ctx)sourcevoid gr_poly_vec_set_length(gr_poly_vec_t vec, slong len, gr_ctx_t ctx)sourcegr_poly_vec_fit_length allocates space for at least len polynomials without changing the length. gr_poly_vec_set_length changes the length to \mathit{len} \ge 0, clearing removed entries and appending zero polynomials as needed.
Cite this page
The FLINT team, “gr_poly_vec_fit_length, gr_poly_vec_set_length (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/gr_poly_vec_fit_length.html (generated 2026-10-20).
@misc{flint-doc-gr-poly-gr-poly-vec-fit-length,
author = {{The FLINT team}},
title = {{gr\_poly\_vec\_fit\_length, gr\_poly\_vec\_set\_length (gr\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_poly/gr_poly_vec_fit_length.html},
note = {Generated 2026-10-20}
}