FLINT3.7.0-dev

fmpz_mat_get_d_mat, fmpz_mat_get_d_mat_transpose

Synopsis#include <flint/fmpz_mat.h>
int fmpz_mat_get_d_mat(d_mat_t B, const fmpz_mat_t A)source
int fmpz_mat_get_d_mat_transpose(d_mat_t B, const fmpz_mat_t A)source

Sets B to A, respectively to its transpose, with each entry rounded to a double, and returns 0. Returns -1 if some entry exceeds DBL_MAX in absolute value, in which case B is partially written.

Cite this page

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