FLINT3.7.0-dev

ca_mat_zero, ca_mat_one, ca_mat_ones

Synopsis#include <flint/ca_mat.h>
void ca_mat_zero(ca_mat_t mat, ca_ctx_t ctx)source
void ca_mat_one(ca_mat_t mat, ca_ctx_t ctx)source
void ca_mat_ones(ca_mat_t mat, ca_ctx_t ctx)source

Sets mat to the zero matrix, to the matrix with ones on the main diagonal and zeros elsewhere, or to the matrix with all entries 1.

Cite this page

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