|
|
◆ Celli1_sub()
| Sub Celli1_sub |
( |
Ret As |
Double, |
|
|
K As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Complete elliptic integral of the first kind K(k) (Subroutine version)
- Purpose
- Computes the Legendre form of complete elliptic integral of the first kind K(k). where F(φ, k) is the incomplete elliptic integral of the first kind defined as follows.
F(φ, k) = ∫ 1/sqrt(1 - k^2(sin(t))^2) dt [0, φ]
- Parameters
-
| [out] | Ret | Complete elliptic integral of the first kind K(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
|