FLINT3.7.0-dev

fq_ctx_init_randtest_reducible

Synopsis#include <flint/fq.h>
void fq_ctx_init_randtest_reducible(fq_ctx_t ctx, flint_rand_t state, int type)source

Initialises ctx with a random monic modulus that is usually reducible, for testing the functions that also work over \mathbb{F}_p[x]/(f) for reducible f. For type 0 the prime has up to 30 bits and the degree is at most 30, for 1 up to 30 bits and degree 15, for 2 up to 10 bits and degree 30, for 3 up to 10 bits and degree 15.

Cite this page

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