|
|
◆ Elli3()
| Function Elli3 |
( |
Phi As |
Double, |
|
|
N As |
Double, |
|
|
K As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Incomplete elliptic integral of the third kind P(φ, n, k)
- Purpose
- Computes the Legendre form of incomplete elliptic integral of the third kind P(φ, n, k).
P(φ, n, k) = ∫ 1/((1 - n(sin(t))^2)sqrt(1 - k^2(sin(t))^2)) dt [0, φ]
- Returns
- Double
Complete elliptic integral of the third kind P(φ, n, k).
- Parameters
-
| [in] | Phi | Argument φ [rad]. |
| [in] | N | Argument n. (N < 1/sin(Phi)^2) |
| [in] | K | Argument k. (K^2*sin(Phi)^2 < 1 (if |Phi| > π/2, |K| < 1)) |
| [out] | Info | (Optional)
= 0: Successful exit.
= -2: The argument N had an illegal value. (N >= 1/sin(Phi)^2)
= -3: The argument K had an illegal value. (K^2*sin(Phi)^2 >= 1 (|K| >= 1 if |Phi| > π/2))
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|