This is the revised and expanded second edition of the hugely popular Numerical Recipes: the Art of Scientific Computing. The product of a unique collaboration among four leading scientists in academic research and industry, Numerical Recipes is a complete text and reference book on scientific computing. In a self-contained manner, it proceeds from mathematical and theoretical considerations to actual, practical computer routines. With over 100 new routines, bringing the total to well over 300, plus upgraded versions of many of the original routines, this new edition is the most practical, comprehensive handbook of scientific computing available today. The book retains the informal, easy-to-read style that made the first edition so popular, even while introducing some more advanced topics. It is an ideal textbook for scientists and engineers, and an indispensable reference for anyone who works in scientific computing. The second edition is available in FORTRAN, the quintessential language for numerical calculations, and in the increasingly popular C language. Not simply a line-by-line translation of the FORTRAN routines, the C version takes advantage of many unique features of the C language, including dynamic memory allocation, modularization, pointer reference to matrices, structured programming, and much more.