gr_vec_append, gr_vec_append_swap
Synopsis
#include <flint/gr_vec.h>Append a copy of f to vec, respectively append f by swapping it into the new last entry (leaving f with the previous value of that entry, which is zero if it was never used). f must not point into vec, since appending may reallocate the array.
Guides#
Cite this page
The FLINT team, “gr_vec_append, gr_vec_append_swap (gr_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_vec/gr_vec_append.html (generated 2026-10-20).
@misc{flint-doc-gr-vec-gr-vec-append,
author = {{The FLINT team}},
title = {{gr\_vec\_append, gr\_vec\_append\_swap (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_append.html},
note = {Generated 2026-10-20}
}