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

◆ Jzeta_sub()

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

Jacobi zeta function Z(φ, k) (Subroutine version)

Purpose
Computes the Jacobi zeta function Z(φ, k).

Jacobi zeta function is defined by using elliptic integrals as follows.
Z(φ, k) = E(φ, k) - E(k) * F(φ, k) / K(k)
The function is often defined as Z(φ, m) with m = k^2.
Parameters
[out]RetJacobi zeta function Z(φ, k).
[in]PhiArgument φ [rad].
[in]KArgument k. (|K| <= 1)
[out]Info(Optional)
= 0: Successful exit.
= -2: The argument K had an illegal value. (|K| > 1)
= 1: Floating point range error.
Reference
boost/math/special_functions