nmod_poly_swap
Synopsis
#include <flint/nmod_poly.h>void nmod_poly_swap(nmod_poly_t poly1, nmod_poly_t poly2)sourceSwaps poly1 and poly2 in constant time by swapping the structures, including the moduli.
Cite this page
The FLINT team, “nmod_poly_swap (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/nmod_poly_swap.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-nmod-poly-swap,
author = {{The FLINT team}},
title = {{nmod\_poly\_swap (nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly/nmod_poly_swap.html},
note = {Generated 2026-10-20}
}