FLINT3.7.0-dev

fmpq_poly_randtest_not_zero

Synopsis#include <flint/fmpq_poly.h>
void fmpq_poly_randtest_not_zero(fmpq_poly_t f, flint_rand_t state, slong len, flint_bitcnt_t bits)source

As for fmpq_poly_randtest except that len and bits may not be zero and the polynomial generated is guaranteed not to be the zero polynomial. One must call flint_rand_init before calling this function.

Cite this page

The FLINT team, “fmpq_poly_randtest_not_zero (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_not_zero.html (generated 2026-10-20).