XLPack 6.1
C/C++ API Reference Manual
Loading...
Searching...
No Matches

◆ _jelli()

void _jelli ( double  u,
double  k,
double *  sn,
double *  cn,
double *  dn 
)

Jacobi elliptic functions sn(u, k), cn(u,k), dn(u, k)

Purpose
jelli computes the Jacobi elliptic functions sn(u, k), cn(u,k) and dn(u, k).

The functions are defined as follows, given:
u = ∫ 1/√(1 - k^2(sin(t))^2) dt [0, φ]
The angle φ is called the amplitude and:
sn(u, k) = sinφ
cn(u, k) = cosφ
dn(u, k) = √(1 - k^2(sin(φ))^2)
Parameters
[in]uArgument u.
[in]kArgument k.
[out]snsn(u, k) value.
[out]cncn(u, k) value.
[out]dndn(u, k) value.
Error handling
  • Range error (ERANGE) may occur.
Reference
boost/math/special_functions