FLINT3.7.0-dev

fmpq_mat_get_fmpz_mat_rowwise, fmpq_mat_get_fmpz_mat_colwise

Synopsis#include <flint/fmpq_mat.h>
void fmpq_mat_get_fmpz_mat_rowwise(fmpz_mat_t num, fmpz * den, const fmpq_mat_t mat)source
void fmpq_mat_get_fmpz_mat_colwise(fmpz_mat_t num, fmpz * den, const fmpq_mat_t mat)source

Clears denominators row by row, respectively column by column: den[i] is set to the least common denominator of row (column) i, and row (column) i of num to the corresponding integer vector. den may be NULL if the denominators are not wanted.

Cite this page

The FLINT team, “fmpq_mat_get_fmpz_mat_rowwise, fmpq_mat_get_fmpz_mat_colwise (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.html (generated 2026-10-20).