FLINT3.7.0-dev

_ca_vec_fit_length

Synopsis#include <flint/ca_vec.h>
void _ca_vec_fit_length(ca_vec_t vec, slong len, ca_ctx_t ctx)source

Ensures that vec has space for at least len entries, without changing its length. If the array has to grow, it grows to at least twice its previous size, and the new entries are initialised to zero.

Cite this page

The FLINT team, “_ca_vec_fit_length (ca_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca_vec/_ca_vec_fit_length.html (generated 2026-10-20).