FLINT3.7.0-dev

fmpq_mat_get_fmpz_mat

Synopsis#include <flint/fmpq_mat.h>
int fmpq_mat_get_fmpz_mat(fmpz_mat_t dest, const fmpq_mat_t mat)source

Sets dest to mat and returns 1 if all entries are integers; otherwise returns 0, and dest may have been partially written.

Cite this page

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