FLINT3.7.0-dev

fmpq_mat_init

Synopsis#include <flint/fmpq_mat.h>
void fmpq_mat_init(fmpq_mat_t mat, slong rows, slong cols)source

Initialises mat as a rows by cols matrix of zeros. Throws if \mathit{rows} \cdot \mathit{cols} overflows an slong.

Cite this page

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