The Jacobian function cn.
This functionality does not run in MATLAB.
Let . Then the Jacobian function CN is defined as follows:
The Jacobian functions are defined for complex values of u and m.
The Jacobian functions are meromorphic and doubly periodic with periods and with respect to u.
For m = 0 and m = 1, the Jacobian functions reduce to trigonometric or constant functions.
If one argument is a floating point number, and the other one can be converted to a floating point number, then a floating point number is returned.
When called with floating point arguments, these functions are sensitive to the environment variable DIGITS which determines the numerical working precision.
For most arguments, the Jacobian functions return themselves unevaluated:
Floating point numbers are returned if at least one of the arguments is a floating point number:
Floating point evaluation can be enforced by using float:
For m = 0 and m = 1, the result is expressed using a trigonometric function: