FLINT3.7.0-dev

fq_fprint, fq_print

Synopsis#include <flint/fq.h>
int fq_fprint(FILE * file, const fq_t op, const fq_ctx_t ctx)source
void fq_print(const fq_t op, const fq_ctx_t ctx)source

Print the representative of op to file, respectively stdout, in the format of fmpz_poly_print: the length, two spaces, and the coefficients from the constant term up, separated by spaces. fq_fprint returns a positive value on success.

Cite this page

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