_nmod_vec_print_pretty, _nmod_vec_fprint_pretty
Synopsis
#include <flint/nmod_vec.h>Prints a header line, then the entries in brackets, each padded to the number of decimal digits of n. _nmod_vec_fprint_pretty returns a positive value on success and a nonpositive value on a write error. Like all functions with a FILE argument, it is declared only if <stdio.h> is included before the FLINT headers.
For example, _nmod_vec_print_pretty prints a vector of length 5 modulo 197 as
<length-5 integer vector mod 197>
[ 33 181 107 6 0]
For a vector of length 0 only the header line is printed.
Cite this page
The FLINT team, “_nmod_vec_print_pretty, _nmod_vec_fprint_pretty (nmod_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_vec/_nmod_vec_print_pretty.html (generated 2026-10-20).
@misc{flint-doc-nmod-vec-nmod-vec-print-pretty,
author = {{The FLINT team}},
title = {{\_nmod\_vec\_print\_pretty, \_nmod\_vec\_fprint\_pretty (nmod\_vec.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_vec/_nmod_vec_print_pretty.html},
note = {Generated 2026-10-20}
}