gr_poly_randtest
Synopsis
#include <flint/gr_poly.h>int gr_poly_randtest(gr_poly_t poly, flint_rand_t state, slong len, gr_ctx_t ctx)sourceSets poly to a random polynomial of length at most len, with coefficients from gr_randtest. The distribution is meant for testing: it is not uniform and produces many special values.
Cite this page
The FLINT team, “gr_poly_randtest (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/gr_poly_randtest.html (generated 2026-10-20).
@misc{flint-doc-gr-poly-gr-poly-randtest,
author = {{The FLINT team}},
title = {{gr\_poly\_randtest (gr\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_poly/gr_poly_randtest.html},
note = {Generated 2026-10-20}
}