FLINT3.7.0-dev

gr_ore_poly_ctx_init, gr_ctx_init_gr_ore_poly

Synopsis#include <flint/gr_ore_poly.h>
void gr_ore_poly_ctx_init(gr_ore_poly_ctx_t ctx, gr_ctx_t base_ring, slong base_var, const ore_algebra_t which_algebra)source
void gr_ctx_init_gr_ore_poly(gr_ctx_t ctx, gr_ctx_t base_ring, slong base_var, const ore_algebra_t which_algebra)source

Initialise ctx as the ring of Ore polynomials over base_ring with the predefined algebra which_algebra, acting on the generator with index base_var of the base ring. These are for the algebras without parameters; the q-shift and Mahler algebras have their own constructors. The two functions are the same.

Cite this page

The FLINT team, “gr_ore_poly_ctx_init, gr_ctx_init_gr_ore_poly (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_ctx_init.html (generated 2026-10-20).