FLINT3.7.0-dev

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)source

Clears 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).