|
◆ rj()
double rj |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
p |
|
) |
| |
Carlson form of elliptic integral RJ(x, y, z, p)
- Purpose
- rj computes the Carlson form of elliptic integral RJ(x, y, z, p).
RJ(x, y, z, p) = (3/2) * ∫(t + x)^(-1/2)(t + y)^(-1/2)(t + z)^(-1/2)(t + p)^(-1)dt [0, ∞]
For negative fourth argument p, rj computes the principal value.
- Returns
- Carlson form of elliptic integral RJ(x, y, z, p).
- Parameters
-
[in] | x | Argument x. (x >= 0 (one of x, y and z may be zero)) |
[in] | y | Argument y. (y >= 0 (one of x, y and z may be zero)) |
[in] | z | Argument z. (z >= 0 (one of x, y and z may be zero)) |
[in] | p | Argument p. (p != 0) |
- Error handling
- If x < 0, y < 0, z < 0, p = 0 or more than two out of x, y and z are 0, domain error (EDOM) occurs.
- Range error (ERANGE) may occur.
- Reference
- boost/math/special_functions
|