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

◆ 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
This routine 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]PhiArgument φ [rad].
[in]NArgument n. (N < 1/sin(Phi)^2)
[in]KArgument 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