FLINT3.7.0-dev

n_poly_shift_left, n_poly_shift_right

Synopsis#include <flint/n_poly.h>
void n_poly_shift_left(n_poly_t A, const n_poly_t B, slong k)source
void n_poly_shift_right(n_poly_t res, const n_poly_t poly, slong k)source

Multiply by x^k, respectively divide by x^k discarding the low coefficients.

Cite this page

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