﻿功能:第二类Carlson对称椭圆积分

格式:EllipticRG(x, y, z)

x: 一个数值不小于0的数值或者矩阵变量
y: 一个数值不小于0的数值或者矩阵变量
z: 一个数值不小于0的数值或者矩阵变量

说明:
$$
\begin{aligned}
\mathbf{EllipticRG}(x, y, z) &= \dfrac{1}{4}\int_0^\infty (\dfrac{tx}{t + x} + \dfrac{ty}{t + y} + \dfrac{tz}{t + z})\dfrac{1}{\sqrt{(t + x)(t + y)(t + z)}}dt
\\
\\
\mathbf{s}\cdot\mathbf{t}\cdot&:x\geq 0,y\geq 0,z\geq 0
\end{aligned}
$$
参考: Carlson B C . Computing elliptic integrals by duplication[J]. Numerische Mathematik, 1979, 33(1):1-16.
参考: {Carlson Integral<https://mathworld.wolfram.com/CarlsonEllipticIntegrals.html>}

例子:
y = EllipticRG(1.25,0.36,2.89)//回车得到如下结果
y =
[ 1.19268309038265 ]