FLINT3.7.0-dev

fmpq_mat_set_fmpz_mat_div_fmpz

Synopsis#include <flint/fmpq_mat.h>
void fmpq_mat_set_fmpz_mat_div_fmpz(fmpq_mat_t X, const fmpz_mat_t Xmod, const fmpz_t div)source

Sets X to the matrix Xmod divided by the nonzero integer div, reducing every entry to canonical form. This converts a pair (X, den) returned by the fmpz_mat solvers to a rational matrix.

Guides#

Cite this page

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