[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bessel Functions and Numerical Recipes



Jean Koclas wrote:
> 
> >
> > Another question:
> >
> > Has anyone converted a substantial portion of
> > Numerical Recipes [e.g., Fortran], to IDL? Are there public libraries for
> > this sort of thing? Numerical Recipes algorithms seem much more
> > stable/reliable than those in IDL and I have the complete Fortran code for
> > most Numerical Recipes but find it tedious to manually convert between
> > languages each time I want a program.
> >
> Numerical Recipes in C have been ported to IDL and are part of it. The
> routines are documented as such in the IDL Reference Guide.
> 
> However, take a look at http://math.jpl.nasa.gov/nr.html and you might
> wonder if it is a good idea to use these routines...

And don't forget (right at the bottom of the above):

http://www.nr.com/bug-rebutt.html

As I recall from a similar thread a cupple years ago, somebody knowledgable about what RSI
did with NR routines in IDL said that a lot of the problems with NR routines were "fixed"
or "upgraded" (or whatever you want to call it). I remember having problems with svdcmp in
IDL 3.6.? but that's has been fixed I believe.

paulv

-- 
Paul van Delst           A little learning is a dangerous thing;
CIMSS @ NOAA/NCEP        Drink deep, or taste not the Pierian spring;
Ph: (301)763-8000 x7274  There shallow draughts intoxicate the brain,
Fax:(301)763-8545        And drinking largely sobers us again.
pvandelst@ncep.noaa.gov                   Alexander Pope.