FLINT3.7.0-dev

fmpz_mat_init

Synopsis#include <flint/fmpz_mat.h>
void fmpz_mat_init(fmpz_mat_t mat, slong rows, slong cols)source

Initialises mat as a rows by cols matrix with all entries zero. Throws an exception if \mathit{rows} \cdot \mathit{cols} overflows an slong.

Guides#

Cite this page

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