FLINT3.7.0-dev

gr_mat_entrywise_unary_predicate_all, gr_mat_entrywise_unary_predicate_any, gr_mat_entrywise_binary_predicate_all

Synopsis#include <flint/gr_mat.h>
truth_t gr_mat_entrywise_unary_predicate_all(gr_method_unary_predicate f, const gr_mat_t mat, gr_ctx_t ctx)source
truth_t gr_mat_entrywise_unary_predicate_any(gr_method_unary_predicate f, const gr_mat_t mat, gr_ctx_t ctx)source
truth_t gr_mat_entrywise_binary_predicate_all(gr_method_binary_predicate f, const gr_mat_t mat1, const gr_mat_t mat2, gr_ctx_t ctx)source

Return whether the predicate f holds for all entries, for some entry, or for all pairs of corresponding entries (T_FALSE if the shapes differ).

Cite this page

The FLINT team, “gr_mat_entrywise_unary_predicate_all, gr_mat_entrywise_unary_predicate_any, gr_mat_entrywise_binary_predicate_all (gr_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_mat/gr_mat_entrywise_unary_predicate_all.html (generated 2026-10-20).