FLINT3.7.0-dev

acb_theta_agm_sqrt

Synopsis#include <flint/acb_theta.h>
void acb_theta_agm_sqrt(acb_ptr res, acb_srcptr a, acb_srcptr roots, slong nb, slong prec)source

Sets each of the nb entries of res to the square root of the entry of a that overlaps the corresponding entry of roots (a low-precision approximation) and whose opposite does not. If both square roots overlap roots, the entry is their union; if neither does, it is indeterminate.

Cite this page

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