fmpz_mod_poly_randtest_trinomial, fmpz_mod_poly_randtest_pentomial
Synopsis
#include <flint/fmpz_mod_poly.h>void fmpz_mod_poly_randtest_trinomial(fmpz_mod_poly_t f, flint_rand_t state, slong len, const fmpz_mod_ctx_t ctx)sourcevoid fmpz_mod_poly_randtest_pentomial(fmpz_mod_poly_t f, flint_rand_t state, slong len, const fmpz_mod_ctx_t ctx)sourceSet f to a random monic polynomial of length len of the form with (trinomial, ), or (pentanomial, ), where and some of the random coefficients may be zero.
Cite this page
The FLINT team, “fmpz_mod_poly_randtest_trinomial, fmpz_mod_poly_randtest_pentomial (fmpz_mod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_poly/fmpz_mod_poly_randtest_trinomial.html (generated 2026-11-02).
@misc{flint-doc-fmpz-mod-poly-fmpz-mod-poly-randtest-trinomial,
author = {{The FLINT team}},
title = {{fmpz\_mod\_poly\_randtest\_trinomial, fmpz\_mod\_poly\_randtest\_pentomial (fmpz\_mod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mod_poly/fmpz_mod_poly_randtest_trinomial.html},
note = {Generated 2026-11-02}
}