FLINT3.7.0-dev

fmpz_poly_swap

Synopsis#include <flint/fmpz_poly.h>
void fmpz_poly_swap(fmpz_poly_t poly1, fmpz_poly_t poly2)source

Swaps poly1 and poly2 in constant time by swapping their structures.

Cite this page

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