nmod_poly_set_str
Synopsis
#include <flint/nmod_poly.h>int nmod_poly_set_str(nmod_poly_t poly, const char * s)sourceReads poly from a string in the plain format and returns 1, or returns 0 if the string is not in this format. The modulus in the string is ignored and the coefficients are not reduced: they must be smaller than the modulus of poly.
Guides#
Cite this page
The FLINT team, “nmod_poly_set_str (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/nmod_poly_set_str.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-nmod-poly-set-str,
author = {{The FLINT team}},
title = {{nmod\_poly\_set\_str (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_set_str.html},
note = {Generated 2026-10-20}
}