FLINT3.7.0-dev

nmod_poly_set_str

Synopsis#include <flint/nmod_poly.h>
int nmod_poly_set_str(nmod_poly_t poly, const char * s)source

Reads 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).