FLINT3.7.0-dev

fq_nmod_mat_fprint, fq_nmod_mat_print

Synopsis#include <flint/fq_nmod_mat.h>
int fq_nmod_mat_fprint(FILE * file, const fq_nmod_mat_t mat, const fq_nmod_ctx_t ctx)
int fq_nmod_mat_print(const fq_nmod_mat_t mat, const fq_nmod_ctx_t ctx)

Print mat to file, respectively stdout: the number of rows and columns separated by a space, two spaces, and the entries in row-major order in the format of fq_nmod_fprint, separated by spaces. Return a positive value on success and a non-positive value on failure.

Generated from the same template as fq_mat_fprint, whose documentation has the details.

Cite this page

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