FLINT3.7.0-dev

fq_default_ctx_init_randtest

Synopsis#include <flint/fq_default.h>
void fq_default_ctx_init_randtest(fq_default_ctx_t ctx, flint_rand_t state)source

Initialises ctx as a random finite field in a random one of the five representations, for testing: up to 4-bit primes and degree 3 for Zech logarithms, up to 30-bit primes and degree 15 for fq_nmod and nmod, and up to 63-bit primes for fq (degree up to 7) and fmpz_mod.

Cite this page

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