FLINT3.7.0-dev

fq_mat_fprint, fq_mat_print

Synopsis#include <flint/fq_mat.h>
int fq_mat_fprint(FILE * file, const fq_mat_t mat, const fq_ctx_t ctx)
int fq_mat_print(const fq_mat_t mat, const fq_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_fprint, separated by spaces. Return a positive value on success and a non-positive value on failure.

Cite this page

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