FLINT3.7.0-dev

ca_mat_check_equal, ca_mat_check_is_zero, ca_mat_check_is_one

Synopsis#include <flint/ca_mat.h>
truth_t ca_mat_check_equal(const ca_mat_t A, const ca_mat_t B, ca_ctx_t ctx)source
truth_t ca_mat_check_is_zero(const ca_mat_t A, ca_ctx_t ctx)source
truth_t ca_mat_check_is_one(const ca_mat_t A, ca_ctx_t ctx)source

Checks whether A = B entrywise (T_FALSE if the dimensions differ), whether A is zero, or whether A has ones on the main diagonal and zeros elsewhere. Wrappers of gr_mat_equal, gr_mat_is_zero and gr_mat_is_one.

Guides#

Cite this page

The FLINT team, “ca_mat_check_equal, ca_mat_check_is_zero, ca_mat_check_is_one (ca_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca_mat/ca_mat_check_equal.html (generated 2026-10-20).