bool_mat_is_diagonal, bool_mat_is_lower_triangular
Synopsis
#include <flint/bool_mat.h>int bool_mat_is_diagonal(const bool_mat_t A)sourceint bool_mat_is_lower_triangular(const bool_mat_t A)sourceReturn 1 if A_{ij} = 0 for all i \ne j, respectively for all i < j, and 0 otherwise. The matrix need not be square.
Cite this page
The FLINT team, “bool_mat_is_diagonal, bool_mat_is_lower_triangular (bool_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/bool_mat/bool_mat_is_diagonal.html (generated 2026-10-20).
@misc{flint-doc-bool-mat-bool-mat-is-diagonal,
author = {{The FLINT team}},
title = {{bool\_mat\_is\_diagonal, bool\_mat\_is\_lower\_triangular (bool\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/bool_mat/bool_mat_is_diagonal.html},
note = {Generated 2026-10-20}
}