FLINT3.7.0-dev

fq_default_poly_fprint_pretty, fq_default_poly_print_pretty, fq_default_poly_get_str_pretty

Synopsis#include <flint/fq_default_poly.h>
int fq_default_poly_fprint_pretty(FILE * file, const fq_default_poly_t poly, const char * x, const fq_default_ctx_t ctx)source
int fq_default_poly_print_pretty(const fq_default_poly_t poly, const char * x, const fq_default_ctx_t ctx)source
char * fq_default_poly_get_str_pretty(const fq_default_poly_t poly, const char * x, const fq_default_ctx_t ctx)source

Print the polynomial in the variable x, or return it as a newly allocated string, with coefficients in parentheses in the readable format of the field (for example x^2+(a+1)*x+(a)).

Guides#

Cite this page

The FLINT team, “fq_default_poly_fprint_pretty, fq_default_poly_print_pretty, fq_default_poly_get_str_pretty (fq_default_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_default_poly/fq_default_poly_fprint_pretty.html (generated 2026-10-20).