FLINT3.7.0-dev

fq_default_struct, fq_default_t

Synopsis#include <flint/fq_default.h>
fq_default_struct
fq_default_t

An element of a finite field: a union of an fq_t, an fq_nmod_t, an fq_zech_t, a ulong (for nmod) and an fmpz_t (for fmpz_mod). Which member is valid is determined by the context, which must be passed to every function. fq_default_t is an array of one union, so it is passed by reference.

Guides#

Cite this page

The FLINT team, “fq_default_struct, fq_default_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_struct.html (generated 2026-10-20).