gr_ore_poly_swap, gr_ore_poly_set_shallow
Synopsis
#include <flint/gr_ore_poly.h>void gr_ore_poly_swap(gr_ore_poly_t poly1, gr_ore_poly_t poly2, gr_ore_poly_ctx_t ctx)sourcevoid gr_ore_poly_set_shallow(gr_ore_poly_t res, const gr_ore_poly_t x, const gr_ore_poly_ctx_t ctx)sourceSwap two Ore polynomials in constant time, and make res a shallow copy of x sharing its coefficients.
Cite this page
The FLINT team, “gr_ore_poly_swap, gr_ore_poly_set_shallow (gr_ore_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_ore_poly/gr_ore_poly_swap.html (generated 2026-10-20).
@misc{flint-doc-gr-ore-poly-gr-ore-poly-swap,
author = {{The FLINT team}},
title = {{gr\_ore\_poly\_swap, gr\_ore\_poly\_set\_shallow (gr\_ore\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_ore_poly/gr_ore_poly_swap.html},
note = {Generated 2026-10-20}
}