Thank you for purchasing the Numerical Recipes Code download. Be sure to read this license and legal information before using any of the materials in this download. Your use of these files constitutes your agreement with the terms listed there.

Code files (".h files") are all in C++ and can be accessed directly in the directory named "code". Alternatively, the following links will let you browse code files by name (and brief description), by routine identifier, or by section number in the book. If you are a subscriber to Numerical Recipes Electronic, links to sections of the book will take you directly to the electronic page images.

Code from the First and Second Editions of Numerical Recipes is no longer supported, but is included here for the convenience of users with legacy code bases. Note that the code is not compatible between editions.