AdvancedMathJacobiCn Method

Compute the Jacobian elliptic function cn.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double JacobiCn(
	double u,
	double k
)

Parameters

u  Double
The argument.
k  Double
The modulus, which must be between 0 and 1.

Return Value

Double
The value of cn(u,k).

Remarks

Be aware that some authors use the parameter m = k^2 instead of the modulus k.

Exceptions

ArgumentOutOfRangeExceptionk lies outside [0, 1].

See Also