_gr_vec_init, _gr_vec_clear
Synopsis
#include <flint/gr_vec.h>Initialise the len elements of the array vec to zero, respectively clear them, freeing the memory they own but not the array itself. The array memory is allocated by the caller (see also gr_heap_init_vec and GR_TMP_INIT_VEC).
Cite this page
The FLINT team, “_gr_vec_init, _gr_vec_clear (gr_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_vec/_gr_vec_init.html (generated 2026-10-20).
@misc{flint-doc-gr-vec-gr-vec-init,
author = {{The FLINT team}},
title = {{\_gr\_vec\_init, \_gr\_vec\_clear (gr\_vec.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_vec/_gr_vec_init.html},
note = {Generated 2026-10-20}
}