gr_mat_is_diagonal, gr_mat_is_upper_triangular, gr_mat_is_lower_triangular, gr_mat_is_hessenberg
Synopsis
#include <flint/gr_mat.h>Return whether all entries off the main diagonal, below it, above it, or below the first subdiagonal (upper Hessenberg form) are zero. The matrix need not be square.
Cite this page
The FLINT team, “gr_mat_is_diagonal, gr_mat_is_upper_triangular, gr_mat_is_lower_triangular, gr_mat_is_hessenberg (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_diagonal.html (generated 2026-10-20).
@misc{flint-doc-gr-mat-gr-mat-is-diagonal,
author = {{The FLINT team}},
title = {{gr\_mat\_is\_diagonal, gr\_mat\_is\_upper\_triangular, gr\_mat\_is\_lower\_triangular, gr\_mat\_is\_hessenberg (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_diagonal.html},
note = {Generated 2026-10-20}
}