_mpoly_gen_shift_right, _mpoly_gen_shift_right_fmpz, _mpoly_gen_shift_left
Synopsis
#include <flint/mpoly.h>void _mpoly_gen_shift_right(ulong * Aexp, flint_bitcnt_t Abits, slong Alength, slong var, ulong amount, const mpoly_ctx_t mctx)sourcevoid _mpoly_gen_shift_right_fmpz(ulong * Aexp, flint_bitcnt_t Abits, slong Alength, slong var, const fmpz_t amount, const mpoly_ctx_t mctx)sourcevoid _mpoly_gen_shift_left(ulong * Aexp, flint_bitcnt_t Abits, slong Alength, slong var, ulong amount, const mpoly_ctx_t mctx)sourceDivide (shift right) or multiply (shift left) every monomial in place by x_{\mathit{var}}^{\mathit{amount}}, without changing the packing width. The division must be exact and the product must fit; _mpoly_gen_shift_right and _mpoly_gen_shift_left require single precision packing.
Cite this page
The FLINT team, “_mpoly_gen_shift_right, _mpoly_gen_shift_right_fmpz, _mpoly_gen_shift_left (mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpoly/_mpoly_gen_shift_right.html (generated 2026-10-20).
@misc{flint-doc-mpoly-mpoly-gen-shift-right,
author = {{The FLINT team}},
title = {{\_mpoly\_gen\_shift\_right, \_mpoly\_gen\_shift\_right\_fmpz, \_mpoly\_gen\_shift\_left (mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpoly/_mpoly_gen_shift_right.html},
note = {Generated 2026-10-20}
}