FLINT3.7.0-dev

gr_poly_swap

Synopsis#include <flint/gr_poly.h>
void gr_poly_swap(gr_poly_t poly1, gr_poly_t poly2, gr_ctx_t ctx)source

Swaps poly1 and poly2 in constant time by exchanging the structures.

Cite this page

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