|
|
◆ Rg()
| Function Rg |
( |
X As |
Double, |
|
|
Y As |
Double, |
|
|
Z As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Carlson form of elliptic integral RG(x, y, z)
- Purpose
- Computes the Carlson form of elliptic integral RG(x, y, z).
RG(x, y, z) = (1/4π) * ∫∫√(x sin^2θ cos^2φ + y sin^2θ sin^2φ + z cos^2θ) sinθ dθdφ [θ: 0, π] [φ: 0, 2π]
- Returns
- Double
Carlson form of elliptic integral RG(x, y, z).
- Parameters
-
| [in] | X | Argument x. (X >= 0) |
| [in] | Y | Argument y. (Y >= 0) |
| [in] | Z | Argument z. (Z >= 0) |
| [out] | Info | (Optional)
= 0: Successful exit.
= -1: The argument X had an illegal value. (X < 0)
= -2: The argument Y had an illegal value. (Y < 0)
= -3: The argument Z had an illegal value. (Z < 0)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|