|
◆ rg()
double rg |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
Carlson form of elliptic integral RG(x, y, z)
- Purpose
- rg 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
- 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) |
- Error handling
- If x < 0, y < 0 or z < 0, domain error (EDOM) occurs.
- Range error (ERANGE) may occur.
- Reference
- boost/math/special_functions
|