XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ jsn()

double jsn ( double  u,
double  k 
)

Jacobi elliptic functions sn(u, k)

Purpose
jsn computes the Jacobi elliptic functions sn(u, k).

The function is 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φ
Returns
sn(u, k).
Parameters
[in]uArgument u.
[in]kArgument k.
Error handling
  • Range error (ERANGE) may occur.
Reference
boost/math/special_functions