FLINT3.7.0-dev

fmpq_poly_reverse

Synopsis#include <flint/fmpq_poly.h>
void fmpq_poly_reverse(fmpq_poly_t res, const fmpq_poly_t poly, slong n)source

This function considers the polynomial poly to be of length n, notionally truncating and zero padding if required, and reverses the result. Since the function normalises its result res may be of length less than n.

Cite this page

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