fmpz_mat_print_pretty, fmpz_mat_fprint_pretty
Synopsis
#include <flint/fmpz_mat.h>int fmpz_mat_print_pretty(const fmpz_mat_t mat)sourceint fmpz_mat_fprint_pretty(FILE * file, const fmpz_mat_t mat)sourcePrints mat to stdout, respectively file, with each row in square brackets followed by a newline, and the whole matrix enclosed in square brackets: the matrix above is printed as [[1 2], [3 4], ] on three lines, with no final newline. Returns a positive value on success and a nonpositive value if a write failed.
Guides#
Cite this page
The FLINT team, “fmpz_mat_print_pretty, fmpz_mat_fprint_pretty (fmpz_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mat/fmpz_mat_print_pretty.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mat-fmpz-mat-print-pretty,
author = {{The FLINT team}},
title = {{fmpz\_mat\_print\_pretty, fmpz\_mat\_fprint\_pretty (fmpz\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mat/fmpz_mat_print_pretty.html},
note = {Generated 2026-10-20}
}