FLINT3.7.0-dev

_fq_zech_poly_shift_right, fq_zech_poly_shift_right

Synopsis#include <flint/fq_zech_poly.h>
void _fq_zech_poly_shift_right(fq_zech_struct * rop, const fq_zech_struct * op, slong len, slong n, const fq_zech_ctx_t ctx)
void fq_zech_poly_shift_right(fq_zech_poly_t rop, const fq_zech_poly_t op, slong n, const fq_zech_ctx_t ctx)

Set rop to \lfloor \mathit{op} / x^n \rfloor, dropping the n lowest coefficients; the result is zero if n is at least the length. The underscore version requires len > n, writes len - n coefficients and allows aliasing (the top n coefficients of op are then permuted, not zeroed).

Generated from the same template as _fq_poly_shift_right, whose documentation has the details.

Cite this page

The FLINT team, “_fq_zech_poly_shift_right, fq_zech_poly_shift_right (fq_zech_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_zech_poly/_fq_zech_poly_shift_right.html (generated 2026-10-20).