FLINT3.7.0-dev

gr_ore_poly_convert

Synopsis#include <flint/gr_ore_poly.h>
int gr_ore_poly_convert(gr_ore_poly_t res, slong * p, const gr_ore_poly_t op, gr_ore_poly_ctx_t res_ctx, gr_ore_poly_ctx_t op_ctx)source

Convert op from op_ctx to res_ctx. The meaning of the output parameter p depends on the algebra. For a conversion within the differential family, xp⋅res=opx^p \cdot \mathit{res} = \mathit{op} where xx is the generator of the base ring specified in the source context. For a conversion within the shift/difference family, Sp⋅res=opS^p \cdot \mathit{res} = \mathit{op} (a power of the forward shift SS). No attempt is currently made to minimise pp or its absolute value.

Cite this page

The FLINT team, “gr_ore_poly_convert (gr_ore_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_ore_poly/gr_ore_poly_convert.html (generated 2026-11-02).