nmod_poly_read, nmod_poly_fread
Synopsis
#include <flint/nmod_poly.h>int nmod_poly_read(nmod_poly_t poly)sourceint nmod_poly_fread(FILE * f, nmod_poly_t poly)sourceRead a polynomial in the plain format from stdin or from f. Unlike nmod_poly_set_str, they reinitialise poly with the modulus that was read. Return 1 on success and 0 if the input is not in the plain format. The coefficients are not reduced.
Cite this page
The FLINT team, “nmod_poly_read, nmod_poly_fread (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/nmod_poly_read.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-nmod-poly-read,
author = {{The FLINT team}},
title = {{nmod\_poly\_read, nmod\_poly\_fread (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_read.html},
note = {Generated 2026-10-20}
}