FLINT3.7.0-dev

gr_ctx_base

Synopsis#include <flint/gr.h>
gr_ptr gr_ctx_base(gr_ctx_t ctx)source

Returns a pointer to the context of the base ring if ctx is constructed over one (polynomials, matrices, series, fractions, quotients); otherwise returns NULL.

Cite this page

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