FLINT3.7.0-dev

fq_default_ctx_struct, fq_default_ctx_t

Synopsis#include <flint/fq_default.h>
fq_default_ctx_struct
fq_default_ctx_t

A finite field context. The structure is a generic ring context gr_ctx_struct (see gr.h) for one of the rings fq_zech, fq_nmod, fq, nmod or fmpz_mod; fq_default_ctx_t is an array of one structure. A context must be initialised with one of the fq_default_ctx_init functions and cleared with fq_default_ctx_clear. Because it is a gr context, FQ_DEFAULT_GR_CTX(ctx) can be passed to any generic function, and an fq_default_t is a valid element for it.

Guides#

Cite this page

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