FLINT3.7.0-dev

_acb_poly_product_roots, acb_poly_product_roots

Synopsis#include <flint/acb_poly.h>
void _acb_poly_product_roots(acb_ptr poly, acb_srcptr xs, slong n, slong prec)source
void acb_poly_product_roots(acb_poly_t poly, acb_srcptr xs, slong n, slong prec)source

Set poly to (x - x_0)(x - x_1) \cdots (x - x_{n-1}). The underscore version writes n + 1 coefficients. Wrappers of _gr_poly_product_roots, which multiplies the factors in a balanced tree. For a real polynomial with roots in conjugate pairs, arb_poly_product_roots_complex avoids the spurious imaginary parts.

Cite this page

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