FLINT3.7.0-dev

_gr_ctx_init_fmpz_mod_from_ref

Synopsis#include <flint/gr.h>
void _gr_ctx_init_fmpz_mod_from_ref(gr_ctx_t ctx, const void * fmod_ctx)source

Initialises ctx to \mathbb{Z}/n\mathbb{Z} using an existing fmpz_mod_ctx_t, which is not copied and must outlive ctx. Used by fmpz_mod_poly and related modules to call generic algorithms.

Cite this page

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