FLINT3.7.0-dev

_nmod_poly_shift_left, nmod_poly_shift_left

Synopsis#include <flint/nmod_poly.h>
void _nmod_poly_shift_left(nn_ptr res, nn_srcptr poly, slong len, slong k)source
void nmod_poly_shift_left(nmod_poly_t res, const nmod_poly_t poly, slong k)source

Set res to poly times x^k, for k \ge 0. The underscore version writes \mathit{len} + k coefficients and allows res == poly.

Cite this page

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