FLINT3.7.0-dev

gr_ctx_init_gr_poly

Synopsis#include <flint/gr.h>
void gr_ctx_init_gr_poly(gr_ctx_t ctx, gr_ctx_t base_ring)source

Initialises ctx to the ring R[x] of densely represented univariate polynomials over base_ring, with elements of type gr_poly_struct; see gr_poly. The generator is named x by default (gr_ctx_set_gen_name changes it). Over inexact rings the length of a polynomial is only an upper bound for its degree (Weak normalisation).

Guides#

Cite this page

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