|
|
◆ Elli2()
| Function Elli2 |
( |
Phi As |
Double, |
|
|
K As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Incomplete elliptic integral of the second kind E(φ, k)
- Purpose
- Computes the Legendre form of incomplete elliptic integral of the second kind E(φ, k).
E(φ, k) = ∫ sqrt(1 - k^2(sin(t))^2) dt [0, φ]
- Returns
- Double
Incomplete elliptic integral of the second kind E(φ, k).
- Parameters
-
| [in] | Phi | Argument φ [rad]. |
| [in] | K | Argument k. (K^2*sin(Phi)^2 <= 1 (if |Phi| > π/2, |K| <= 1)) |
| [out] | Info | (Optional)
= 0: Successful exit.
= -2: 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
|