FLINT3.7.0-dev

padic_poly_randtest

Synopsis#include <flint/padic_poly.h>
void padic_poly_randtest(padic_poly_t f, flint_rand_t state, slong len, const padic_ctx_t ctx)source

Sets f to a random reduced polynomial of length at most len, with valuation drawn as for padic_randtest. With len = 0, f is not changed.

Cite this page

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