FLINT3.7.0-dev

bool_mat_zero, bool_mat_one

Synopsis#include <flint/bool_mat.h>
void bool_mat_zero(bool_mat_t mat)source
void bool_mat_one(bool_mat_t mat)source

Set mat to the zero matrix, or to the matrix with ones on the main diagonal and zeros elsewhere (also for non-square matrices).

Cite this page

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