FLINT3.7.0-dev

nmod_mpoly_randtest_bound, nmod_mpoly_randtest_bounds, nmod_mpoly_randtest_bits

Synopsis#include <flint/nmod_mpoly.h>
void nmod_mpoly_randtest_bound(nmod_mpoly_t A, flint_rand_t state, slong length, ulong exp_bound, const nmod_mpoly_ctx_t ctx)source
void nmod_mpoly_randtest_bounds(nmod_mpoly_t A, flint_rand_t state, slong length, ulong * exp_bounds, const nmod_mpoly_ctx_t ctx)source
void nmod_mpoly_randtest_bits(nmod_mpoly_t A, flint_rand_t state, slong length, flint_bitcnt_t exp_bits, const nmod_mpoly_ctx_t ctx)source

Set A to a random polynomial with at most length terms and random coefficients, with the exponents of each variable in [0, exp_bound), of the variable of index i in [0, exp_bounds[i]), or of at most exp_bits bits.

Cite this page

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