cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float eljtf (float u, float k); extern double eljt (double u, double k); extern long double eljtl (long double u, long double k); extern __float80 eljtw (__float80 u, __float80 k); extern __float128 eljtq (__float128 u, __float128 k); extern long_long_double eljtll (long_long_double u, long_long_double k); extern decimal_float eljtdf (decimal_float u, decimal_float k); extern decimal_double eljtd (decimal_double u, decimal_double k); extern decimal_long_double eljtdl (decimal_long_double u, decimal_long_double k); extern decimal_long_long_double eljtdll (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.
Theta(u,k) = eljt(u,k).
The argument u is unrestricted, but k is required to be in [-1,+1].
See M. Abramowitz & I. A. Stegun, Handbook of Mathematical Functions, Chapter 16, for definitions of the Jacobian elliptic, Eta, theta, Theta, and Zeta functions, and section 16.31 for Theta(u,k).