nmod_poly_is_one, nmod_poly_is_gen
Synopsis
#include <flint/nmod_poly.h>int nmod_poly_is_one(const nmod_poly_t poly)sourceint nmod_poly_is_gen(const nmod_poly_t poly)sourceReturn whether poly is the constant 1, respectively the generator x. For n = 1 both return 1, since every polynomial is zero modulo 1.
Guides#
Cite this page
The FLINT team, “nmod_poly_is_one, nmod_poly_is_gen (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/nmod_poly_is_one.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-nmod-poly-is-one,
author = {{The FLINT team}},
title = {{nmod\_poly\_is\_one, nmod\_poly\_is\_gen (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_is_one.html},
note = {Generated 2026-10-20}
}