Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!mcsun!hp4nl!rivm!epiren From: epiren@rivm.nl (I.A.Kreis) Newsgroups: comp.lang.c Subject: Re: Num Recipes in C (Index converter or Diffs) Message-ID: <1991Apr8.170341.13343@rivm.nl> Date: 8 Apr 91 17:03:41 GMT References: <14227@helios.TAMU.EDU> <1991Apr6.051923.22033@zoo.toronto.edu> Sender: news@rivm.nl Organization: Rijksinstituut voor Volksgezondheid & Milieuhygiene, Bilthoven,NL Lines: 14 The Numerical Recipes in C -book was intended (IMHO) as a text book on Numerical methods, *not* on C. The `offset one' notation is a mathematical convention. Speeding up the programs by using pointers or advanced tricks is a task for the compiler and/or the programmer. The source in the book is intended for human readers, not for compilers. (though they may accept it. You are off course free to alter the code (leaving the algorithms for what they are), adding your own style and or flavor. Instead of flaming the compilers/authors of this book, you could have been recoding the program- ing examples, to fit your specific needs; you will find yourself pleased by the easy to read *algorithmical* part of the code. Use your anger productively ! Adriaan van Kessel epiren@rivm.nl