FLINT3.7.0-dev

_fq_poly_fprint, fq_poly_fprint, _fq_poly_print, fq_poly_print

Synopsis#include <flint/fq_poly.h>
int _fq_poly_fprint(FILE * file, const fq_struct * poly, slong len, const fq_ctx_t ctx)
int fq_poly_fprint(FILE * file, const fq_poly_t poly, const fq_ctx_t ctx)
int _fq_poly_print(const fq_struct * poly, slong len, const fq_ctx_t ctx)
int fq_poly_print(const fq_poly_t poly, const fq_ctx_t ctx)

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

Cite this page

The FLINT team, “_fq_poly_fprint, fq_poly_fprint, _fq_poly_print, fq_poly_print (fq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_poly/_fq_poly_fprint.html (generated 2026-10-20).