Complex/generalized arithmetico-geometric map and elliptic integrals