|
|
◆ Celli3_sub()
| Sub Celli3_sub |
( |
Ret As |
Double, |
|
|
N As |
Double, |
|
|
K As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Complete elliptic integral of the third kind P(n, k) (Subroutine version)
- Purpose
- Computes the Legendre form of complete elliptic integral of the third kind P(n, k). where P(φ, n, k) is the incomplete elliptic integral of the third kind defined as follows.
P(φ, n, k) = ∫ 1/((1 - n(sin(t))^2)sqrt(1 - k^2(sin(t))^2)) dt [0, φ]
- Parameters
-
| [out] | Ret | Complete elliptic integral of the third kind P(n, k). |
| [in] | N | Argument n. (N < 1) |
| [in] | K | Argument k. (-1 < K < 1) |
| [out] | Info | (Optional)
= 0: Successful exit.
= -1: The argument N had an illegal value. (N >= 1)
= -2: The argument K had an illegal value. (K <= -1 or K >= 1)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|