fmpq_mat_get_fmpz_mat_rowwise_2
Synopsis
#include <flint/fmpq_mat.h>void fmpq_mat_get_fmpz_mat_rowwise_2(fmpz_mat_t num, fmpz_mat_t num2, fmpz * den, const fmpq_mat_t mat, const fmpq_mat_t mat2)sourceClears denominators row by row in the two matrices mat and mat2 with the same number of rows jointly, as if they were concatenated horizontally: den[i] is the least common denominator of row i of both, and num, num2 receive the scaled rows. This turns a system AX = B over \mathbb{Q} into an equivalent integer system. den may be NULL.
Cite this page
The FLINT team, “fmpq_mat_get_fmpz_mat_rowwise_2 (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_rowwise_2.html (generated 2026-10-20).
@misc{flint-doc-fmpq-mat-fmpq-mat-get-fmpz-mat-rowwise-2,
author = {{The FLINT team}},
title = {{fmpq\_mat\_get\_fmpz\_mat\_rowwise\_2 (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_rowwise_2.html},
note = {Generated 2026-10-20}
}