_fmpz_mod_poly_reverse, fmpz_mod_poly_reverse
Synopsis
#include <flint/fmpz_mod_poly.h>void fmpz_mod_poly_reverse(fmpz_mod_poly_t res, const fmpz_mod_poly_t poly, slong n, const fmpz_mod_ctx_t ctx)sourceSet res to the reversal of poly viewed as a polynomial of length (truncated or zero-padded). The underscore version writes exactly coefficients, requires and allows res and poly to be the same array; the other version normalises the result, which can therefore be shorter than .
Guides#
Cite this page
The FLINT team, “_fmpz_mod_poly_reverse, fmpz_mod_poly_reverse (fmpz_mod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_poly/_fmpz_mod_poly_reverse.html (generated 2026-11-02).
@misc{flint-doc-fmpz-mod-poly-fmpz-mod-poly-reverse,
author = {{The FLINT team}},
title = {{\_fmpz\_mod\_poly\_reverse, fmpz\_mod\_poly\_reverse (fmpz\_mod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mod_poly/_fmpz_mod_poly_reverse.html},
note = {Generated 2026-11-02}
}