nmod_poly_is_irreducible_rabin
Synopsis
#include <flint/nmod_poly_factor.h>int nmod_poly_is_irreducible_rabin(const nmod_poly_t f)sourceReturns whether f is irreducible, by Rabin's test [Rab1980b]: of degree is irreducible if and only if and for every prime . Constants are considered irreducible.
Unlike the other irreducibility tests, this function is not a wrapper of the generic implementation: it computes each power by successive exponentiations by , at a cost of about multiplications modulo , which makes it much slower than nmod_poly_is_irreducible for large degrees.
References#
- [Rab1980b] M. O. Rabin. Probabilistic algorithms in finite fields. SIAM Journal on Computing 9 (1980), 273–280.
Cite this page
The FLINT team, “nmod_poly_is_irreducible_rabin (nmod_poly_factor.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly_factor/nmod_poly_is_irreducible_rabin.html (generated 2026-11-02).
@misc{flint-doc-nmod-poly-factor-nmod-poly-is-irreducible-rabin,
author = {{The FLINT team}},
title = {{nmod\_poly\_is\_irreducible\_rabin (nmod\_poly\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly_factor/nmod_poly_is_irreducible_rabin.html},
note = {Generated 2026-11-02}
}