FLINT3.7.0-dev

gr_poly_vec_append, gr_poly_vec_append_swap

Synopsis#include <flint/gr_poly.h>
int gr_poly_vec_append(gr_poly_vec_t vec, const gr_poly_t f, gr_ctx_t ctx)source
void gr_poly_vec_append_swap(gr_poly_vec_t vec, gr_poly_t f, gr_ctx_t ctx)source

Append f to the vector. gr_poly_vec_append copies it; gr_poly_vec_append_swap swaps it into the new entry without copying, so that f becomes the zero polynomial.

Cite this page

The FLINT team, “gr_poly_vec_append, gr_poly_vec_append_swap (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_append.html (generated 2026-10-20).