cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float eljcnf (float u, float k); extern double eljcn (double u, double k); extern long double eljcnl (long double u, long double k); extern __float80 eljcnw (__float80 u, __float80 k); extern __float128 eljcnq (__float128 u, __float128 k); extern long_long_double eljcnll (long_long_double u, long_long_double k); extern decimal_float eljcndf (decimal_float u, decimal_float k); extern decimal_double eljcnd (decimal_double u, decimal_double k); extern decimal_long_double eljcndl (decimal_long_double u, decimal_long_double k); extern decimal_long_long_double eljcndll (decimal_long_long_double u, decimal_long_long_double k);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
eljcn(u, k) = cn(u, k).
The argument u is unrestricted. The argument k (the modulus) is normally in [-1,+1]. If it is not, then a standard reciprocal modulus transformation is used to convert the function to another with second argument 1/k.
See M. Abramowitz & I. A. Stegun, Handbook of Mathematical Functions, Chapter 16, for definitions of the Jacobian elliptic, theta, and zeta functions.