nmod_poly_rand_irreducible
Synopsis
#include <flint/nmod_poly.h>void nmod_poly_rand_irreducible(nmod_poly_t poly, flint_rand_t state, slong len)sourceSets poly to a random irreducible polynomial of length at most len. Since nmod_poly_is_irreducible regards nonzero constants as irreducible, the result can be a constant, and it need not be monic.
Cite this page
The FLINT team, “nmod_poly_rand_irreducible (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/nmod_poly_rand_irreducible.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-nmod-poly-rand-irreducible,
author = {{The FLINT team}},
title = {{nmod\_poly\_rand\_irreducible (nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly/nmod_poly_rand_irreducible.html},
note = {Generated 2026-10-20}
}