Path: news.mathworks.com!newsfeed-00.mathworks.com!irazu.switch.ch!switch.ch!ltu.se!luth.se!not-for-mail
Date: Wed, 19 Jan 2005 21:39:32 +0100
From: Johan Carlson <Johan.NOSPAM.Carlson@csee.ltu.se>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: Numerical recipes in Matlab
References: <eef9109.-1@webx.raydaftYaTP>   <4azHd.2457$Ny6.4062@mencken.net.nih.gov> <1106166733.903785.240990@c13g2000cwb.googlegroups.com>
In-Reply-To: <1106166733.903785.240990@c13g2000cwb.googlegroups.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 38
Message-ID: <41eec581$0$181$cc7c7865@news.luth.se>
NNTP-Posting-Host: pptp3.home.sm.luth.se
X-Trace: 1106167169 news.luth.se 181 130.240.66.203
Xref: news.mathworks.com comp.soft-sys.matlab:255295



beliavsky@aol.com wrote:

> Brett Shoelson wrote:
> 
>>I've found NR (in C/C++, FORTRAN) to be very useful over the years,
> 
> and while I have
> 
>>heard of the occasional bug, I have not experienced any myself. My
> 
> code for
> 
>>Lomb-Scargle periodogram analysis (on the FEX) is a direct translation
> 
> from
> 
>>NR/FORTRAN into ML. And while writing _efficient_ code in ML might not
> 
> 
>>always be trivial, translating directly (including lots of unnecessary
> 
> 
>>nested for loops, etc.) into mcode is pretty easy.
> 
> 
> As I have mentioned here several times, Fortran 90 is an array
> language, like Matlab. Currently, if you buy the Fortran version of
> Numerical Recipes from http://www.nr.com/com/storefront.html , you get
> Fortran 77 and Fortran 90 versions of NR. The F90 version uses array
> operations and thus does not have "unnecessary [] nested loops". It
> would be much better to convert that to Matlab than the F77 version.
> 


Just out of curiosity, what exactly is it that Numerical Recipes can do 
that MATLAB can't already do?

/Johan