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