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)sourcechar * nmod_poly_get_str_pretty(const nmod_poly_t poly, const char * x)sourceReturn 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).
@misc{flint-doc-nmod-poly-nmod-poly-get-str,
author = {{The FLINT team}},
title = {{nmod\_poly\_get\_str, nmod\_poly\_get\_str\_pretty (nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly/nmod_poly_get_str.html},
note = {Generated 2026-10-20}
}