FLINT3.7.0-dev

arb_poly_randtest

Synopsis#include <flint/arb_poly.h>
void arb_poly_randtest(arb_poly_t poly, flint_rand_t state, slong len, slong prec, slong mag_bits)source

Sets poly to a random polynomial of length at most len whose coefficients are generated by arb_randtest or arb_randtest_precise with the parameters prec and mag_bits. For testing.

Cite this page

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