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)sourceint fmpz_mod_mat_is_one(const fmpz_mod_mat_t mat, const fmpz_mod_ctx_t ctx)sourceReturn 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).
@misc{flint-doc-fmpz-mod-mat-fmpz-mod-mat-is-zero,
author = {{The FLINT team}},
title = {{fmpz\_mod\_mat\_is\_zero, fmpz\_mod\_mat\_is\_one (fmpz\_mod\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mod_mat/fmpz_mod_mat_is_zero.html},
note = {Generated 2026-10-20}
}