FLINT3.7.0-dev

_n_fq_is_zero, _n_fq_is_one, _n_fq_is_ui, n_fq_is_one

Synopsis#include <flint/n_poly.h>
int _n_fq_is_zero(const ulong * a, slong d)source
int _n_fq_is_one(const ulong * a, slong d)source
int _n_fq_is_ui(const ulong * a, slong d)source
int n_fq_is_one(const ulong * a, const fq_nmod_ctx_t ctx)source

Return whether the element is 0, 1, or in the prime field (all coefficients except the constant one zero).

Cite this page

The FLINT team, “_n_fq_is_zero, _n_fq_is_one, _n_fq_is_ui, n_fq_is_one (n_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/n_poly/_n_fq_is_zero.html (generated 2026-10-20).