fmpq_mat_get_fmpz_mat_mod_fmpz
Synopsis
#include <flint/fmpq_mat.h>void fmpq_mat_get_fmpz_mat_mod_fmpz(fmpz_mat_t dest, const fmpq_mat_t mat, const fmpz_t mod)sourceSets each entry of dest to the corresponding entry of mat modulo mod, in [0, \mathit{mod}) (see fmpq_mod_fmpz). All denominators must be invertible modulo mod; otherwise the corresponding entries are undefined.
Cite this page
The FLINT team, “fmpq_mat_get_fmpz_mat_mod_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_get_fmpz_mat_mod_fmpz.html (generated 2026-10-20).
@misc{flint-doc-fmpq-mat-fmpq-mat-get-fmpz-mat-mod-fmpz,
author = {{The FLINT team}},
title = {{fmpq\_mat\_get\_fmpz\_mat\_mod\_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_get_fmpz_mat_mod_fmpz.html},
note = {Generated 2026-10-20}
}