gr_mat_is_zero, gr_mat_is_one, gr_mat_is_neg_one, gr_mat_is_scalar
Synopsis
#include <flint/gr_mat.h>Return whether mat is zero, has 1 or -1 on the main diagonal and zeros elsewhere, or is a scalar matrix (a diagonal matrix with equal diagonal entries).
Cite this page
The FLINT team, “gr_mat_is_zero, gr_mat_is_one, gr_mat_is_neg_one, gr_mat_is_scalar (gr_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_mat/gr_mat_is_zero.html (generated 2026-10-20).
@misc{flint-doc-gr-mat-gr-mat-is-zero,
author = {{The FLINT team}},
title = {{gr\_mat\_is\_zero, gr\_mat\_is\_one, gr\_mat\_is\_neg\_one, gr\_mat\_is\_scalar (gr\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_mat/gr_mat_is_zero.html},
note = {Generated 2026-10-20}
}