FLINT3.7.0-dev

padic_mat_fprint, padic_mat_print

Synopsis#include <flint/padic_mat.h>
int padic_mat_fprint(FILE * file, const padic_mat_t A, const padic_ctx_t ctx)source
int padic_mat_print(const padic_mat_t A, const padic_ctx_t ctx)source

Print the number of rows, a space, the number of columns, two spaces and the entries row by row, separated by spaces. In the mode PADIC_TERSE the entries are printed as rationals, in PADIC_VAL_UNIT in the form p^w*u; the mode PADIC_SERIES is not supported and throws. Return 1.

Cite this page

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