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

Home » Public Forums » archive » Numerical Recipes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Numerical Recipes [message #9979 is a reply to message #9883] Wed, 17 September 1997 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
Dave Klassen wrote:
>
> I've been looking for a nice easy way to maximize a fairly complex
> function using IDL. I know that there are many Numerical Recipes
> routines built into IDL, but not the one I need. I've used the
> NR routine called AMOEBA before to minimize a chi-squared
> function and now I'd like to try to use it to maximize a
> correlation function.
>
> I was wondering if there were some repository of IDL translations
> of the NR routines that are *not* built in. I'd really like to
> avoid translating the FORTRAN code I have if possible.
>

This might not appeal to you, but one alternative would be to
modify the Fortran code slightly so you can call it from IDL
using CALL_EXTERNAL. I don't think you would want to translate
the NR routines to IDL, as there would be a significant performance
cost for most of them.

Dave
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Numerical Recipes diffs?
Next Topic: SVDC in IDL 5.0

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

Current Time: Wed Oct 08 17:41:28 PDT 2025

Total time taken to generate the page: 0.00490 seconds