fmpq_poly_randtest
Synopsis
#include <flint/fmpq_poly.h>void fmpq_poly_randtest(fmpq_poly_t f, flint_rand_t state, slong len, flint_bitcnt_t bits)sourceSets f to a random polynomial with coefficients up to the given length and where each coefficient has up to the given number of bits. The coefficients are signed randomly. One must call flint_rand_init before calling this function.
Cite this page
The FLINT team, “fmpq_poly_randtest (fmpq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_poly/fmpq_poly_randtest.html (generated 2026-10-20).
@misc{flint-doc-fmpq-poly-fmpq-poly-randtest,
author = {{The FLINT team}},
title = {{fmpq\_poly\_randtest (fmpq\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_poly/fmpq_poly_randtest.html},
note = {Generated 2026-10-20}
}