comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » elliptic integrals
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
elliptic integrals [message #74909] Wed, 09 February 2011 09:48 Go to next message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
Are there really no in-built functions to compute incomplete elliptic integrals? Or does someone have a pre-built routine already (save myself the effort of typing out and translating some NR code...)?

-Jeremy.
Re: elliptic integrals [message #74998 is a reply to message #74909] Wed, 09 February 2011 14:05 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<b4a1f4f3-6877-47c6-a59a-c16f33b5587b@glegroupsg2000goo.googlegroups.com
> ,
Jeremy Bailin <astroconst@gmail.com> wrote:

> Are there really no in-built functions to compute incomplete elliptic integrals? Or does someone have a pre-built routine already (save myself the effort of typing out and translating some NR code...)?
>
> -Jeremy.

I'm afraid you have to buy an "Advanced Math and Stats" module license,
which gives you access to the IMSL library.

http://www.ittvis.com/portals/0/pdfs/idl/IDLAMS_RoutinesFunc .pdf

Ken Bowman
Re: elliptic integrals [message #75003 is a reply to message #74909] Wed, 09 February 2011 13:05 Go to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Wed, 9 Feb 2011, Jeremy Bailin wrote:

> Are there really no in-built functions to compute incomplete elliptic integrals? Or does someone have a pre-built routine already (save myself the effort of typing out and translating some NR code...)?
>
> -Jeremy.
>

Have you tried GSL?

phi=...
k=...
val=call_external('/usr/lib64/libgsl.so', 'gsl_sf_ellint_f', $
double(phi), double(k), long(1), $
/all_value, /d_value, /auto_glue)

regards,
Lajos
Re: elliptic integrals [message #75008 is a reply to message #74909] Wed, 09 February 2011 10:03 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
To answer my own question, it looks like there is with the IMSL license. Oh well.

-Jeremy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Market Research 101
Next Topic: yfit in linfit showing up as float [ ] filled with NANs

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:23:27 PDT 2025

Total time taken to generate the page: 0.00397 seconds