FLINT3.7.0-dev

fmpz_mod_mat_fprint, fmpz_mod_mat_print

Synopsis#include <flint/fmpz_mod_mat.h>
int fmpz_mod_mat_fprint(FILE * file, const fmpz_mod_mat_t mat, const fmpz_mod_ctx_t ctx)source
int fmpz_mod_mat_print(const fmpz_mod_mat_t mat, const fmpz_mod_ctx_t ctx)source

Print mat to file or to stdout in the format of fmpz_mat_fprint: the numbers of rows and columns, two spaces, and the entries in row-major order separated by spaces. Return a positive value on success and a nonpositive value if a write failed.

Cite this page

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