|
|
◆ Jelli()
| Sub Jelli |
( |
U As |
Double, |
|
|
K As |
Double, |
|
|
Sn As |
Double, |
|
|
Cn As |
Double, |
|
|
Dn As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Jacobi elliptic functions sn(u, k), cn(u,k), dn(u, k)
- Purpose
- This routine 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] | U | Argument u. |
| [in] | K | Argument k. |
| [out] | Sn | sn(u, k) value. |
| [out] | Cn | cn(u, k) value. |
| [out] | Dn | dn(u, k) value. |
| [out] | Info | (Optional)
= 0: Successful exit.
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|