FLINT3.7.0-dev

fmpq_mat_get_fmpz_mat_matwise

Synopsis#include <flint/fmpq_mat.h>
void fmpq_mat_get_fmpz_mat_matwise(fmpz_mat_t num, fmpz_t den, const fmpq_mat_t mat)source

Sets den to the least common denominator d of all entries and num to the integer matrix d \cdot \mathit{mat}. For an empty matrix, d = 1.

Cite this page

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