FLINT3.7.0-dev

bool_mat_get_entry, bool_mat_set_entry

Synopsis#include <flint/bool_mat.h>
int bool_mat_get_entry(const bool_mat_t mat, slong i, slong j)source
void bool_mat_set_entry(bool_mat_t mat, slong i, slong j, int x)source

Get and set the entry in row i and column j. The value x must be 0 or 1. Indices are not checked.

Cite this page

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