fmpz_mat_init
Synopsis
#include <flint/fmpz_mat.h>void fmpz_mat_init(fmpz_mat_t mat, slong rows, slong cols)sourceInitialises 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).
@misc{flint-doc-fmpz-mat-fmpz-mat-init,
author = {{The FLINT team}},
title = {{fmpz\_mat\_init (fmpz\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mat/fmpz_mat_init.html},
note = {Generated 2026-10-20}
}