XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Hlambda_sub()

Sub Hlambda_sub ( Ret As  Double,
Phi As  Double,
K As  Double,
Optional Info As  Long 
)

Heuman lambda function Λ0(φ, k) (Subroutine version)

Purpose
Computes the Heuman lambda function Λ0(φ, k).
Λ0(φ, k) = F(φ, √(1 - k^2))/K(√(1 - k^2)) + (2/π) K(k) Z(φ, √(1 - k^2))
where F is the incomplete elliptic integral of the first kind, K is the complete elliptic integral of the first kind, and Z is the Jacobi zeta function.
Parameters
[out]RetHeuman lambda function Λ0(φ, k).
[in]PhiArgument φ.
[in]KArgument k. (-1 < K < 1)
[out]Info(Optional)
= 0: Successful exit.
= -2: The argument K had an illegal value. (K <= -1 or K >= 1)
= 1: Floating point range error.
Reference
boost/math/special_functions