_fmpz_mod_poly_shift_right, fmpz_mod_poly_shift_right
Synopsis
#include <flint/fmpz_mod_poly.h>void fmpz_mod_poly_shift_right(fmpz_mod_poly_t f, const fmpz_mod_poly_t g, slong n, const fmpz_mod_ctx_t ctx)sourceSet the output to the input divided by x^n, discarding the low coefficients; the result is zero if n is at least the length. The underscore version writes len - n coefficients, requires \mathit{len} > n and allows res and poly to be the same array.
Cite this page
The FLINT team, “_fmpz_mod_poly_shift_right, fmpz_mod_poly_shift_right (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_shift_right.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mod-poly-fmpz-mod-poly-shift-right,
author = {{The FLINT team}},
title = {{\_fmpz\_mod\_poly\_shift\_right, fmpz\_mod\_poly\_shift\_right (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_shift_right.html},
note = {Generated 2026-10-20}
}