|
|
◆ Rc()
| Function Rc |
( |
X As |
Double, |
|
|
Y As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Carlson form of elliptic integral RC(x, y)
- Purpose
- This routine 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
- Double
Carlson form of elliptic integral RC(x, y).
- Parameters
-
| [in] | X | Argument x. (X >= 0) |
| [in] | Y | Argument y. (Y <> 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)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|