FLINT3.7.0-dev

nmod_poly_mat_is_zero, nmod_poly_mat_is_one

Synopsis#include <flint/nmod_poly_mat.h>
int nmod_poly_mat_is_zero(const nmod_poly_mat_t mat)source
int nmod_poly_mat_is_one(const nmod_poly_mat_t mat)source

Returns 1 if mat is zero, respectively has the constant 1 on the main diagonal and zeros elsewhere, and 0 otherwise.

Cite this page

The FLINT team, “nmod_poly_mat_is_zero, nmod_poly_mat_is_one (nmod_poly_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly_mat/nmod_poly_mat_is_zero.html (generated 2026-10-20).