Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!jato!vsnyder From: vsnyder@jato.jpl.nasa.gov (Van Snyder) Newsgroups: comp.sys.atari.st Subject: Re: Numerical Recipes Message-ID: <1991Feb26.195253.12293@jato.jpl.nasa.gov> Date: 26 Feb 91 19:52:53 GMT References: <1991Feb13.1113.5265@canrem.uucp> <1991Feb22.210921.28469@jato.jpl.nasa.gov> <1991Feb23.174459.4432@mailer.cc.fsu.edu> Reply-To: vsnyder@jato.Jpl.Nasa.Gov (Van Snyder) Distribution: comp Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 31 In article <1991Feb23.174459.4432@mailer.cc.fsu.edu> boyd@nu.cs.fsu.edu (Mickey Boyd) writes: >In article <1991Feb22.210921.28469@jato.jpl.nasa.gov>, vsnyder@jato.Jpl.Nasa.Gov (Van Snyder) writes: >>In article <1991Feb13.1113.5265@canrem.uucp> "tellabs canada" writes: >>>-> - spline algorithms >>> >>>Look for Numerical Recipes in C (mathematicians programming bible), >>>you'll find algorithms for this and a thousand and one other things >>>there >> >>Numerical Recipes (NR) is definitely NOT the "mathematicians programming bible". >>[....lots of good sounding reasons to not get this book/disk....] > >Just out of curiosity, is the newer NR in C any better than the original one >(where everything was FORTRAN)? NR is available on the ST with a source code >disk (in C). Have they improved their algorithms any in the translation to >C? As far as we can tell, the C algorithms are just a straight translation of the Fortran algorithms. No improvements. Aside: C compilers that aren't ANSI-C will have some problems (i.e. require you to do some gymnastics) with numerical analysis that won't happen in Fortran. Even ANSI C has trouble with matrices, since arrays don't really exist in C (they're bogus pointers). Tha main problem in porting linear algebra codes from Fortran to C is in the transposition from column major storage order to row major storage order. Van. -- vsnyder@jato.Jpl.Nasa.Gov ames!elroy!jato!vsnyder vsnyder@jato.uucp