FLINT3.7.0-dev

fmpq_poly_power_sums

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

Compute the (truncated) power sum series of the monic polynomial poly up to length nn using Newton identities. That is the power series whose coefficient of degree ii is the sum of the ii-th power of all (complex) roots of the polynomial poly.

Cite this page

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