acb_agm
Synopsis
#include <flint/acb.h>Sets res to the arithmetic-geometric mean of a and b, with the square roots chosen to give the optimal AGM sequence. This is well defined except when a/b is a negative real number, where there are two optimal sequences; then an arbitrary but consistent choice is made, or the union of both when the choice cannot be decided.
Guides#
Cite this page
The FLINT team, “acb_agm (acb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb/acb_agm.html (generated 2026-10-20).
@misc{flint-doc-acb-acb-agm,
author = {{The FLINT team}},
title = {{acb\_agm (acb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb/acb_agm.html},
note = {Generated 2026-10-20}
}