FLINT3.7.0-dev

nmod_poly_get_str, nmod_poly_get_str_pretty

Synopsis#include <flint/nmod_poly.h>
char * nmod_poly_get_str(const nmod_poly_t poly)source
char * nmod_poly_get_str_pretty(const nmod_poly_t poly, const char * x)source

Return poly as a string in the plain format and in the pretty format with variable name x. The zero polynomial is "0 n" and "0". Free the string with flint_free.

Cite this page

The FLINT team, “nmod_poly_get_str, nmod_poly_get_str_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_get_str.html (generated 2026-10-20).