ELQ 3CW "07 February 2010" "mathcw-1.00"

Table of contents


NAME

elqf, elq, elql, elqw, elqq, elqll, elqdf, elqd, elqdl, elqdll - elliptic function nome from modulus

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern float elqf (float k);

extern double elq (double k);

extern long double elql (long double k);

extern __float80 elqw (__float80 k);

extern __float128 elqq (__float128 k);

extern long_long_double elqll (long_long_double k);

extern decimal_float elqdf (decimal_float k);

extern decimal_double elqd (decimal_double k);

extern decimal_long_double elqdl (decimal_long_double k);

extern decimal_long_long_double elqdll (decimal_long_long_double k);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Compute the elliptic function nome q, a real value in [0,1), from the modulus k, a real value in [-1,+1].

The companion function elk(q) provides the inverse operation, such that

k = elk(q), q = elq(k).

See M. Abramowitz & I. A. Stegun, Handbook of Mathematical Functions, Chapter 16, for definitions of the Jacobian elliptic, theta, and zeta functions.


RETURN VALUES

Return the elliptic function nome q.

ERRORS

If the argument is a NaN, return that argument. If the argument is out of range, set errno to EDOM and return a quiet NaN.

SEE ALSO

elk(3CW), elkm1(3CW), elq1p(3CW), elqc(3CW), elqc1p(3CW).