FLINT3.7.0-dev

_fq_nmod_poly_fprint, fq_nmod_poly_fprint, _fq_nmod_poly_print, fq_nmod_poly_print

Synopsis#include <flint/fq_nmod_poly.h>
int _fq_nmod_poly_fprint(FILE * file, const fq_nmod_struct * poly, slong len, const fq_nmod_ctx_t ctx)
int fq_nmod_poly_fprint(FILE * file, const fq_nmod_poly_t poly, const fq_nmod_ctx_t ctx)
int _fq_nmod_poly_print(const fq_nmod_struct * poly, slong len, const fq_nmod_ctx_t ctx)
int fq_nmod_poly_print(const fq_nmod_poly_t poly, const fq_nmod_ctx_t ctx)

Print the polynomial to file, respectively stdout: the length, two spaces, and the coefficients in the format of fq_nmod_fprint separated by single spaces. Return a positive value on success and a non-positive value on failure.

Generated from the same template as _fq_poly_fprint, whose documentation has the details.

Cite this page

The FLINT team, “_fq_nmod_poly_fprint, fq_nmod_poly_fprint, _fq_nmod_poly_print, fq_nmod_poly_print (fq_nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod_poly/_fq_nmod_poly_fprint.html (generated 2026-10-20).