Learn R Programming

jacobi (version 3.1.1)

agm: Arithmetic-geometric mean

Description

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

Usage

agm(x, y)

Value

A complex number, the arithmetic-geometric mean of x

and y.

Arguments

x, y

complex numbers

Examples

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

Run the code above in your browser using DataLab