fq_nmod_poly_randtest_irreducible
Synopsis
#include <flint/fq_nmod_poly.h>void fq_nmod_poly_randtest_irreducible(fq_nmod_poly_t f, flint_rand_t state, slong len, const fq_nmod_ctx_t ctx)Sets to a random monic irreducible polynomial of length len . Random monic polynomials are tested by computing for until one is irreducible, which takes about len attempts on average.
Generated from the same template as fq_poly_randtest_irreducible, whose documentation has the details.
Cite this page
The FLINT team, “fq_nmod_poly_randtest_irreducible (fq_nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod_poly/fq_nmod_poly_randtest_irreducible.html (generated 2026-11-02).
@misc{flint-doc-fq-nmod-poly-fq-nmod-poly-randtest-irreducible,
author = {{The FLINT team}},
title = {{fq\_nmod\_poly\_randtest\_irreducible (fq\_nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_nmod_poly/fq_nmod_poly_randtest_irreducible.html},
note = {Generated 2026-11-02}
}