fq_default_poly_randtest, fq_default_poly_randtest_not_zero, fq_default_poly_randtest_monic, fq_default_poly_randtest_irreducible
Synopsis
#include <flint/fq_default_poly.h>void fq_default_poly_randtest(fq_default_poly_t f, flint_rand_t state, slong len, const fq_default_ctx_t ctx)sourcevoid fq_default_poly_randtest_not_zero(fq_default_poly_t f, flint_rand_t state, slong len, const fq_default_ctx_t ctx)sourcevoid fq_default_poly_randtest_monic(fq_default_poly_t f, flint_rand_t state, slong len, const fq_default_ctx_t ctx)sourcevoid fq_default_poly_randtest_irreducible(fq_default_poly_t f, flint_rand_t state, slong len, const fq_default_ctx_t ctx)sourceRandom polynomials of length at most len (nonzero for the second function, which requires len > 0), random monic polynomials of length len, and random monic irreducible polynomials of length len, for testing.
Cite this page
The FLINT team, “fq_default_poly_randtest, fq_default_poly_randtest_not_zero, fq_default_poly_randtest_monic, fq_default_poly_randtest_irreducible (fq_default_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_default_poly/fq_default_poly_randtest.html (generated 2026-10-20).
@misc{flint-doc-fq-default-poly-fq-default-poly-randtest,
author = {{The FLINT team}},
title = {{fq\_default\_poly\_randtest, fq\_default\_poly\_randtest\_not\_zero, fq\_default\_poly\_randtest\_monic, fq\_default\_poly\_randtest\_irreducible (fq\_default\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_default_poly/fq_default_poly_randtest.html},
note = {Generated 2026-10-20}
}