From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Healy To: Brian Gough Cc: Liam Healy , gsl-discuss@sources.redhat.com Subject: Re: Elliptic integral and function Date: Wed, 19 Dec 2001 12:12:00 -0000 Message-ID: <15392.62637.529777.544027@shadow.nrl.navy.mil> References: <15390.8891.712402.651008@shadow.nrl.navy.mil> <15391.46588.180743.817113@debian> X-SW-Source: 2001-q4/msg00172.html Message-ID: <20011219121200.d2Y9wYg1gS8BIotrjhlpXcGCvX7euMHXKkgx7hhY-Wk@z> >>>>> "Brian" == Brian Gough writes: Brian> Liam Healy writes: >> My understanding is that the Jacobi elliptic function is the inverse >> of the elliptic function. That is, >> sn(K(k),k) = 1 >> cn(K(k),k) = 0 >> dn(K(k),k) = sqrt(1-k^2) >> see http://mathworld.wolfram.com/JacobiEllipticFunctions.html >> Brian> Hi, Brian> Using the conventions in the GSL manual the relation is, Brian> sn(K(k),k^2) = 1 Brian> cn(K(k),k^2) = 0 Brian> dn(K(k),k^2) = sqrt(1-k^2) Brian> which should work correctly. I think there is a note about the Brian> different notations used by Carlson and Abramowitz&Stegun somewhere in Brian> the chapter there. You're absolutely right, I had overlooked the m (where m=k^2). And it is documented, if a bit obscurely, "The Jacobian Elliptic functions are defined in Abramowitz & Stegun, Chapter 16." so one has to hunt down A&S for the definition and see how they've defined the arguments. Thank you for solving this mystery. Liam