FLINT3.7.0-dev

_fq_poly_fprint_pretty, fq_poly_fprint_pretty, _fq_poly_print_pretty, fq_poly_print_pretty

Synopsis#include <flint/fq_poly.h>
int _fq_poly_fprint_pretty(FILE * file, const fq_struct * poly, slong len, const char * x, const fq_ctx_t ctx)
int fq_poly_fprint_pretty(FILE * file, const fq_poly_t poly, const char * x, const fq_ctx_t ctx)
int _fq_poly_print_pretty(const fq_struct * poly, slong len, const char * x, const fq_ctx_t ctx)
int fq_poly_print_pretty(const fq_poly_t poly, const char * x, const fq_ctx_t ctx)

Print the polynomial in the variable x, with coefficients other than 1 in parentheses in the format of fq_fprint_pretty, for example x^2+(a+1)*x+(a). Return a positive value on success.

Cite this page

The FLINT team, “_fq_poly_fprint_pretty, fq_poly_fprint_pretty, _fq_poly_print_pretty, fq_poly_print_pretty (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_pretty.html (generated 2026-10-20).