FLINT3.7.0-dev

nmod_poly_print, nmod_poly_fprint, nmod_poly_print_pretty, nmod_poly_fprint_pretty

Synopsis#include <flint/nmod_poly.h>
int nmod_poly_print(const nmod_poly_t a)source
int nmod_poly_fprint(FILE * f, const nmod_poly_t poly)source
int nmod_poly_print_pretty(const nmod_poly_t a, const char * x)source
int nmod_poly_fprint_pretty(FILE * f, const nmod_poly_t a, const char * x)source

Write the polynomial to stdout or to f, in the plain or the pretty format. Return a positive value on success and a non-positive value on failure.

Guides#

Cite this page

The FLINT team, “nmod_poly_print, nmod_poly_fprint, nmod_poly_print_pretty, nmod_poly_fprint_pretty (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/nmod_poly_print.html (generated 2026-10-20).