fmpq_mat_is_zero, fmpq_mat_is_one
Synopsis
#include <flint/fmpq_mat.h>int fmpq_mat_is_zero(const fmpq_mat_t mat)sourceint fmpq_mat_is_one(const fmpq_mat_t mat)sourceReturns 1 if mat is zero, respectively has ones on the main diagonal and zeros elsewhere (\mathit{mat} need not be square), and 0 otherwise. Empty matrices are both zero and one.
Cite this page
The FLINT team, “fmpq_mat_is_zero, fmpq_mat_is_one (fmpq_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_mat/fmpq_mat_is_zero.html (generated 2026-10-20).
@misc{flint-doc-fmpq-mat-fmpq-mat-is-zero,
author = {{The FLINT team}},
title = {{fmpq\_mat\_is\_zero, fmpq\_mat\_is\_one (fmpq\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_mat/fmpq_mat_is_zero.html},
note = {Generated 2026-10-20}
}