Cambridge New York Port Chester Melbourne Sydney The Art of Scientific Computing CAMBRIDGE UNIVERSITY PRESS EXXON Research and Engineering Company Harvard-Smithsonian Center for Astrophysics Department of Physics, Cornell University | Sample page from NUMERICAL RECIPES IN C THE ART OF SCIENTIFIC COMPUTING ISBN 0-521-43108-5 Copyright C 1988-1992 by Cambridge University Press. Programs Copyright C 1988-1992 by Numerical Recipes Software. Permission is granted for internet users to make one paper copy for their own personal use. Further reproduction or any copying of machine-readable files including this one to any serverBomputer is strictly prohibited. To order Numerical Recipes books diskettes or CDROMs visit website http or call 1-800-872-7423 North America only Br send email to trade@ outside North America . c o LU O c o o 0 CAMBRIDGE UNIVERSITY PRESS Cambridge New York Port Chester Melbourne Sydney Published by the Press Syndicate of the University of Cambridge The Pitt Building Trumpington Street Cambridge CB2 1RP 40 West 20th Street New York NY 10011-4211 USA 10 Stamford Road Oakleigh Melbourne 3166 Australia Copyright Cambridge University Press 1988 1992 except for and Appendix B which are placed into the public domain and except for all other computer programs and procedures which are Copyright Numerical Recipes Software 1987 1988 1992 1997 All Rights Reserved. Some sections of this book were originally published in different form in Computers in Physics magazine Copyright American Institute of Physics 1988-1992. First Edition originally published 1988 Second Edition originally published 1992. Reprinted with corrections 1993 1994 1995 1997. This reprinting is corrected to software version Printed in the United States of America Typeset in TeX Without an additional license to use the contained software this book is intended as a text and reference book for reading purposes only. A free license for limited use of the software by the individual owner of a copy of this book who personally types one or more routines into a single computer is granted under terms described on p. xvii. See the section License Information pp. xvi-xviii for information on .