FLINT3.7.0-dev

fq_nmod_ctx_init_randtest_reducible

Synopsis#include <flint/fq_nmod.h>
void fq_nmod_ctx_init_randtest_reducible(fq_nmod_ctx_t ctx, flint_rand_t state, int type)source

Initialises ctx with a random monic modulus that is usually reducible, for testing: primes of up to 20 bits for type 0 and 1, of up to 10 bits for 2 and 3, degrees up to 30 for even and up to 15 for odd type.

Cite this page

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