fmpz_poly_power_sums, _fmpz_poly_power_sums_naive, fmpz_poly_power_sums_naive
Synopsis
#include <flint/fmpz_poly.h>void fmpz_poly_power_sums(fmpz_poly_t res, const fmpz_poly_t poly, slong n)sourcevoid fmpz_poly_power_sums_naive(fmpz_poly_t res, const fmpz_poly_t poly, slong n)sourceSet res to the power sums p_0, \ldots, p_{n-1} of the roots of the monic polynomial poly, computed with Newton's identities; the roots at zero are counted in p_0 only. A zero polynomial raises an exception in fmpz_poly_power_sums. The underscore version writes n coefficients.
Cite this page
The FLINT team, “fmpz_poly_power_sums, _fmpz_poly_power_sums_naive, fmpz_poly_power_sums_naive (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/fmpz_poly_power_sums.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-power-sums,
author = {{The FLINT team}},
title = {{fmpz\_poly\_power\_sums, \_fmpz\_poly\_power\_sums\_naive, fmpz\_poly\_power\_sums\_naive (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/fmpz_poly_power_sums.html},
note = {Generated 2026-10-20}
}