NAG Library for Java
The largest collection of numerical algorithms commercially available for Java programmers
Produced by experts for use in a variety of applications, the NAG Library remains at the core of NAG’s product portfolio. It has a global reputation for its excellence and, with over 1,700 fully documented and tested routines, is the largest collection of mathematical and statistical algorithms available.
Now at its 23rd major release, the NAG Library contains algorithms which are powerful, reliable, flexible and ready for use.
The key numerical and statistical capabilities of the NAG Library are shown below. A complete list of the contents of the Library is available here.
- Optimization, both Local and Global
- Linear, quadratic, integer and nonlinear programming and least squares problems
- Ordinary and partial differential equations, and mesh generation
- Solution of dense, banded and sparse linear equations and eigenvalue problems
- Solution of linear and nonlinear least squares problems
- Curve and surface fitting and interpolation
- Special functions
- Numerical integration and integral equations
- Roots of nonlinear equations (including polynomials)
- Option Pricing
- Wavelet Transforms
- Random number generation
- Simple calculations on statistical data
- Correlation and regression analysis
- Multivariate methods
- Analysis of variance and contingency table analysis
- Time series analysis
- Nonparametric statistics
To ensure that we meet your existing and future requirements, the library is regularly updated with new and enhanced algorithms for use in evolving business areas. If you have suggestions for new routines please contact us.
If you subscribe to our dedicated Customer Support Service, not only will you automatically receive any update that is produced, but you will have access via the NAG Response Centre to our experts, who are there to assist you with your technical queries or difficulties.
The Users' Note for the NAG Library for Java can be read here.
The NAG Fortran Library Manual will also help you use the NAG Library for Java
The complete NAG Fortran Library Manual, Mark 23 can be viewed on-line in the following formats:
- XHTML+MathML: a version of the manual using XHTML and MathML;
- PDF+HTML: a full PDF manual which can be browsed using HTML index files;
- PDF: the same manual as above, consisting of many PDF files, may be browsed using PDF bookmarks and links rather than HTML index files;
- Single file PDF: the manual as a single PDF file (38.9MB);
- ZIP file: The archive as a ZIP file (228MB);
- Windows html help: Windows html help version as a single file (13MB);
(Note: due to windows security restrictions the help file may not be read directly from the internet. Save a copy to your local disk, and then read the local copy. Also depending on the Windows version installed you may need to unblock files copied from the internet before they may be used (right click on the help file and select properties then select the "unblock" button).
Advice on viewing and navigating the first three formats can be found in the Online Documentation help document. You are strongly advised to read this document if you wish to try the XHTML+MathML format.
The two single file formats are more compact than the formats using one file per routine, but of course are a larger download if you only need to view the documentation for a few routines. The total file size for the PDF+HTML tables of contents is 229MB. The total size for XHTML and examples files is 84MB.
The Library is organised into Chapters - each being documented with its own Introduction and Contents list followed by a comprehensive document for each function detailing its purpose, description, list of parameters and possible error exits. Example programs and results are also supplied. All examples are available on-line to facilitate their use as templates for the users' calling programs.
Installer's Notes and Users' Notes
Support documentation for the installation and use of each implementation of the NAG Fortran Library is available.
To use the NAG Library from Java you will need to download the NAG Library for Java wrappers from here
You also need to have installed a copy of the NAG Fortran Library. Please make your selection from the available options below: