FLINT3.7.0-dev

_arb_vec_set_powers

Synopsis#include <flint/arb.h>
void _arb_vec_set_powers(arb_ptr xs, const arb_t x, slong len, slong prec)source

Sets xs to 1, x, x^2, \ldots, x^{\mathit{len}-1}, computing even powers by squaring and odd powers by one multiplication, which keeps the error growth logarithmic in the exponent.

Cite this page

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