Evaluates the Jacobi elliptic functions sn, cn,
and dn.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static void Jacobi(
double x,
double k,
out double sn,
out double cn,
out double dn
)
Public Shared Sub Jacobi (
x As Double,
k As Double,
<OutAttribute> ByRef sn As Double,
<OutAttribute> ByRef cn As Double,
<OutAttribute> ByRef dn As Double
)
public:
static void Jacobi(
double x,
double k,
[OutAttribute] double% sn,
[OutAttribute] double% cn,
[OutAttribute] double% dn
)
static member Jacobi :
x : float *
k : float *
sn : float byref *
cn : float byref *
dn : float byref -> unit
Parameters
- x
- Type: SystemDouble
A real number. - k
- Type: SystemDouble
The modulus. - sn
- Type: SystemDouble
On return, the value of sn(x, k). - cn
- Type: SystemDouble
On return, the value of cn(x, k). - dn
- Type: SystemDouble
On return, the value of dn(x, k).
Note that the second parameter, k is the
modulus. Other parameterizations exist,
including the squared modulus, m. In this case,
sn(x|m) = sn(x, k) with k = sqrt(m),
and similarly for the other functions.
Reference