FLINT3.7.0-dev

_ca_poly_shift_left, ca_poly_shift_left, _ca_poly_shift_right, ca_poly_shift_right

Synopsis#include <flint/ca_poly.h>
void _ca_poly_shift_left(ca_ptr res, ca_srcptr poly, slong len, slong n, ca_ctx_t ctx)source
void ca_poly_shift_left(ca_poly_t res, const ca_poly_t poly, slong n, ca_ctx_t ctx)source
void _ca_poly_shift_right(ca_ptr res, ca_srcptr poly, slong len, slong n, ca_ctx_t ctx)source
void ca_poly_shift_right(ca_poly_t res, const ca_poly_t poly, slong n, ca_ctx_t ctx)source

Sets res to poly multiplied by x^n, or divided by x^n with the n lowest coefficients discarded. Wrappers of _gr_poly_shift_left and _gr_poly_shift_right.

Cite this page

The FLINT team, “_ca_poly_shift_left, ca_poly_shift_left, _ca_poly_shift_right, ca_poly_shift_right (ca_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca_poly/_ca_poly_shift_left.html (generated 2026-10-20).