agm {jacobi}R Documentation

Arithmetic-geometric mean

Description

Evaluation of the arithmetic-geometric mean of two complex numbers.

Usage

agm(x, y)

Arguments

x, y

complex numbers

Value

A complex number, the arithmetic-geometric mean of x and y.

Examples

agm(1, sqrt(2))
2*pi^(3/2)*sqrt(2) / gamma(1/4)^2

[Package jacobi version 3.1.1 Index]