FLINT3.7.0-dev

fmpz_mod_mpoly_q_randtest

Synopsis#include <flint/fmpz_mod_mpoly_q.h>
void fmpz_mod_mpoly_q_randtest(fmpz_mod_mpoly_q_t res, flint_rand_t state, slong length, slong exp_bound, const fmpz_mod_mpoly_ctx_t ctx)source

Sets res to a random canonical fraction whose numerator and denominator have at most length terms and exponents below exp_bound.

Cite this page

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