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

Home » Public Forums » archive » modified bessell functions
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
modified bessell functions [message #14786] Tue, 30 March 1999 00:00 Go to next message
Michael Asten is currently offline  Michael Asten
Messages: 53
Registered: March 1999
Member
Any one know of routines to compute modified bessell functions In(z) and
Kn(z),
where n=0 or 1, and z is a complex argument. The idl library routine
beselli(x,n)
provides In for real arguments only, (but if fed a complex argument it
seems to cheerily ignore the imaginary part without comment!)

Thanks and regards,
Michael Asten
Re: modified bessell functions [message #14960 is a reply to message #14786] Fri, 09 April 1999 00:00 Go to previous message
Michael Asten is currently offline  Michael Asten
Messages: 53
Registered: March 1999
Member
Just for the archive record, I'm posting an answer to my own question.
I found siutable fortran77 routines which are free to use conditional on
acknowledgement (given below) and translated line-for-line to idl5.2.

As a matter of interest, the runtime comparision for 10000 calls with
complex argument is 11 sec in idl vs 3 sec in Lahey fortran 90 (standard
opt). I'm quite impressed; I expected greater overheads for idl considering
the fortran loops and goto statments were left intact.

Of course, another answer to my question would be to use pv-wave; - the IMSL
library within pv-wave has the desired complex bessel functions built in!

Regards,
Michael Asten


Michael Asten wrote:

> Any one know of routines to compute modified bessell functions In(z) and
> Kn(z),
> where n=0 or 1, and z is a complex argument. The idl library routine
> beselli(x,n)
> provides In for real arguments only, (but if fed a complex argument it
> seems to cheerily ignore the imaginary part without comment!)
>
> Thanks and regards,
> Michael Asten
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Fortran
Next Topic: Problems with JULDAY and CALDAT

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

Current Time: Sat Oct 11 20:08:52 PDT 2025

Total time taken to generate the page: 0.31894 seconds