Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Recommendations for general methods/algorythms anyone?

by diskcrash (Hermit)
on May 22, 2001 at 09:54 UTC ( #82168=note: print w/replies, xml ) Need Help??

in reply to Recommendations for general methods/algorythms anyone?

Dear cLive-

An old classic is "Fundamental Algorithms - The Art of Computer Programming", by Donald Knuth Addison-Wesley Publishing, 1968. Other volumes came later. Many code examples using the MIX language are included. There is a particularly good section on tree traversal.

If you are doing scientific/numerical work, try "Numerical Recipes in C" by Press, Flannery, Teukolsky and Vetterling- ISBN 0-521-35465-X. This book is a national treasure of mathematical algorithms and much code is included.

Secant cosine tangent sine

3 point 1 4 1 5 9

logarithm, algorithm, I'm a wreck

Another two years at old Caltech


  • Comment on Re: Recommendations for general methods/algorythms anyone?

Replies are listed 'Best First'.
Re: Re: Recommendations for general methods/algorythms anyone?
by RhetTbull (Curate) on May 22, 2001 at 16:07 UTC
    While Numerical Recipes is quite useful, I would hardly call it a "national treasure." Numerical Recipes gets recommended a lot because it is one of the more comprehensive references available on this subject but you should know that it's not perfect and has many flaws. The 'C' code in it is particularly horrendous. The Fortran version is somewhat better. The C code in Numerical Recipes reminds me of an old "mainframe hacker" who once told me "I can write Fortran in any language..."

    There's a page at NASA's Jet Propulsion Lab that's titled "Why not use Numerical Recipes." It's worth reading before jumping head first into the book and includes suggestions for alternatives to Numerical Recipes.

    That said, Numerical Recipes is certainly a useful starting place for numerical algorithms but remember that TMTOWTDI and this book only shows one way.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://82168]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2017-09-26 21:06 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (297 votes). Check out past polls.