back to home page


Numerical Recipes Third Edition Code in Java™

Numerical Recipes user Huang Wen Hui has produced high-quality translations of the Numerical Recipes C++ code, version 3.04, into Java. With his permission, we are pleased to make this Java code available to all licensed users of Numerical Recipes Third Edition Machine-Readable Code. The Java code is now included in all purchased downloads of both the C++ and All Languages machine readable code products.

Note that the Java translations are not a supported product of Numerical Recipes Software, but are provided only as a convenience to individual users. The translations are a derivative work of the copyrighted Numerical Recipes C++ code, and their use is governed by the license and disclaimer of warranty printed below. We are not able to offer any additional permission for commercial use of the derivative work.

License Applying to User Contributed Numerical Recipes in Java

Numerical Recipes Software grants to any licensed user of the Numerical Recipes Third Edition source code in C++ an additional, non-exclusive license to use these Java translations under terms and conditions identical to that user's existing license to use the Numerical Recipes C++ source code. This grant does not modify any existing terms and conditions, nor does it grant any new C++ or Java code license to users who are not already licensed to use Numerical Recipes Third Edition source code in C++. This grant is subject to, and conditional on, the license grant by Huang Wen Hui given below.

Note that owning a copy of the Numerical Recipes book, or purchasing a subscription to the electronic book, is not the same as a code license. A code license comes with the purchase of one of (i) a Numerical Recipes Code CDROM as published by Cambridge University Press, or (ii) a Code Download package as purchased from Numerical Recipes Software (see here), or (iii) an institutional subscription (see further information here).

Huang Wen Hui represents to Numerical Recipes Software that he is the author of these Java translations and has the right to license them. Numerical Recipes Software itself makes no warranty or representation as to the ownership of the translations (other than their being derivative works of Numerical Recipes C++ source code).

Subject to the above conditions and representations, and subject to the Disclaimer of Warranty below, Huang Wen Hui grants to all users a perpetual, non-exclusive, royalty-free license to use these Java translations in any manner whatsoever.

Disclaimer of Warranty

The Java translations are an unsupported product. Numerical Recipes Software, the authors and publisher of the Numerical Recipes books, and Huang Wen Hui make no warranty, express or implied, that the computer code contained in them is free of error, or is consistent with any particular standard of merchantability, or that it will meet your requirements for any particular application. The code should not be relied on for solving a problem whose incorrect solution could result in injury to a person or loss of property. If you do use the code in such a manner, it is entirely at your own risk. The authors and publisher disclaim all liability for direct or consequential damages resulting from your use of the code.