FLINT3.7.0-dev

fq_nmod_mpoly_ctx_init_rand

Synopsis#include <flint/fq_nmod_mpoly.h>
void fq_nmod_mpoly_ctx_init_rand(fq_nmod_mpoly_ctx_t ctx, flint_rand_t state, slong max_nvars, flint_bitcnt_t p_bits, slong deg_bound)source

Initialises ctx with a random number of variables in [0, max_nvars], a random ordering, and a random field of characteristic a prime of at most p_bits bits and degree at most deg_bound. Used for testing.

Cite this page

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