XLPack 6.0
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Celli1()

Function Celli1 ( K As  Double,
Optional Info As  Long 
)

Complete elliptic integral of the first kind K(k)

Purpose
This routine computes the Legendre form of complete elliptic integral of the first kind K(k).
K(k) = F(π/2, 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, φ]
Returns
Double
Complete elliptic integral of the first kind K(k).
Parameters
[in]KArgument 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