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)sourceSets 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).
@misc{flint-doc-fmpq-mat-fmpq-mat-get-fmpz-mat-matwise,
author = {{The FLINT team}},
title = {{fmpq\_mat\_get\_fmpz\_mat\_matwise (fmpq\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_mat/fmpq_mat_get_fmpz_mat_matwise.html},
note = {Generated 2026-10-20}
}