_fmpz_poly_shift_right, fmpz_poly_shift_right
Synopsis
#include <flint/fmpz_poly.h>void fmpz_poly_shift_right(fmpz_poly_t res, const fmpz_poly_t poly, slong n)sourceSet res to \lfloor \mathit{poly} / x^n \rfloor, dropping the low n coefficients; the result is zero if n is at least the length. The underscore version requires \mathit{len} > n and writes len - n coefficients; res may be equal to poly, in which case the top n entries of the array are left unchanged.
Cite this page
The FLINT team, “_fmpz_poly_shift_right, fmpz_poly_shift_right (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/_fmpz_poly_shift_right.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-shift-right,
author = {{The FLINT team}},
title = {{\_fmpz\_poly\_shift\_right, fmpz\_poly\_shift\_right (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/_fmpz_poly_shift_right.html},
note = {Generated 2026-10-20}
}