FLINT3.7.0-dev

_fmpq_vec_fprint, _fmpq_vec_print

Synopsis#include <flint/fmpq_vec.h>
int _fmpq_vec_fprint(FILE * file, const fmpq * vec, slong len)source
int _fmpq_vec_print(const fmpq * vec, slong len)source

Print the vector to file or stdout: the length, two spaces, and the entries separated by single spaces, in the format of fmpq_print. An empty vector is printed as 0. Return a positive value on success and a non-positive value on failure.

Cite this page

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