FLINT3.7.0-dev

fmpz_mod_mat_is_zero, fmpz_mod_mat_is_one

Synopsis#include <flint/fmpz_mod_mat.h>
int fmpz_mod_mat_is_zero(const fmpz_mod_mat_t mat, const fmpz_mod_ctx_t ctx)source
int fmpz_mod_mat_is_one(const fmpz_mod_mat_t mat, const fmpz_mod_ctx_t ctx)source

Return 1 if mat is the zero matrix, respectively has ones on the main diagonal and zeros elsewhere (always true for n = 1), and 0 otherwise.

Cite this page

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