FLINT3.7.0-dev

_acb_vec_unit_roots

Synopsis#include <flint/acb.h>
void _acb_vec_unit_roots(acb_ptr z, slong order, slong len, slong prec)source

Sets z to 1, \omega, \omega^2, \ldots, \omega^{\mathit{len}-1} with \omega = \exp(2\pi i/\mathit{order}); order may be negative. To avoid error growth, the powers are not computed by repeated multiplication.

Cite this page

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