FLINT3.7.0-dev

gr_which_structure

Synopsis#include <flint/gr.h>
gr_which_structure

The enumeration of implementation codes stored in ctx->which_ring: GR_CTX_FMPZ, GR_CTX_NMOD, GR_CTX_RR_ARB, GR_CTX_GR_POLY and so on, with GR_CTX_UNKNOWN_DOMAIN for rings defined outside FLINT. Generic code uses it for conversions between specific rings and for shortcuts; gr_ctx_cmp_coercion compares these codes.

Guides#

Cite this page

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