|
◆ rc()
double rc |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
Carlson form of elliptic integral RC(x, y)
- Purpose
- rc computes the Carlson form of elliptic integral RC(x, y).
RC(x, y) = (1/2) * ∫ (t + x)^(-1/2)(t + y)^(-1) dt [0, ∞]
For negative second argument y, rc computes the principal value.
- Returns
- Carlson form of elliptic integral RC(x, y).
- Parameters
-
[in] | x | Argument x. (x >= 0) |
[in] | y | Argument y. (y != 0) |
- Error handling
- If x < 0 or y = 0, domain error (EDOM) occurs.
- Range error (ERANGE) may occur.
- Reference
- boost/math/special_functions
|