bool_mat_any, bool_mat_all
Synopsis
#include <flint/bool_mat.h>int bool_mat_any(const bool_mat_t mat)sourceint bool_mat_all(const bool_mat_t mat)sourceReturn 1 if some entry, respectively every entry, of mat is 1, and 0 otherwise. For an empty matrix bool_mat_any returns 0 and bool_mat_all returns 1.
Cite this page
The FLINT team, “bool_mat_any, bool_mat_all (bool_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/bool_mat/bool_mat_any.html (generated 2026-10-20).
@misc{flint-doc-bool-mat-bool-mat-any,
author = {{The FLINT team}},
title = {{bool\_mat\_any, bool\_mat\_all (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_any.html},
note = {Generated 2026-10-20}
}