|
|
◆ Rf_sub()
| Sub Rf_sub |
( |
Ret As |
Double, |
|
|
X As |
Double, |
|
|
Y As |
Double, |
|
|
Z As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Carlson form of elliptic integral RF(x, y, z) (Subroutine version)
- Purpose
- Computes the Carlson form of elliptic integral RF(x, y, z).
RF(x, y, z) = (1/2) * ∫(t + x)^(-1/2)(t + y)^(-1/2)(t + z)^(-1/2) dt [0, ∞]
- Parameters
-
| [out] | Ret | Carlson form of elliptic integral RF(x, y, z). |
| [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)) |
| [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 or more than two out of X, Y and Z are 0)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|