Kristjan Onu wrote:
Raymond E. Rogers wrote:
This is what I had in mind; is it what you had in mind?
I think this is on the right track. A few comments:
(i) In giving definitions for the complete elliptic integral
functions, I would explicitly set phi = pi/2.
(ii) When documenting ellipke, in addition to stating m = k^2, I would
explicitly write out the form of the elliptic integrals.
(iii) On my computer, elliptic_test shows GSL as consistently slower
than ellipke. GSL takes about 4.4s and ellipke 3.7s. I have: Pentium 4
2.40GHz, 1GiB RAM, Debian testing (Linux 2.6.24-1-686), Octave 3.0.0,
GSL 1.11. It's interesting that my results are opposite to yours; I
wouldn't draw any conclusions from this however.
Kristjan
Well!! Since your actually going to read it, I have done some editing to
make it readable.
I also incorporated your suggestions:
http://www.plaidheron.com/ray/temp/
the two octave-elliptic files.
RayR
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev