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)sourceSets 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#
- Exact linear algebra over the integers (
fmpz_mat)
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).
@misc{flint-doc-fmpq-mat-fmpq-mat-set-fmpz-mat-div-fmpz,
author = {{The FLINT team}},
title = {{fmpq\_mat\_set\_fmpz\_mat\_div\_fmpz (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_set_fmpz_mat_div_fmpz.html},
note = {Generated 2026-10-20}
}