# The NAG C Library - New at Mark 9

Three new chapters have been introduced into the Library at Mark 9, Wavelets Transforms, Global Optimization and Further Linear Algebra Routines, and a further new sub-chapter, Option Pricing Formulae. Extensions have been included in other areas namely statistics, optimization, linear algebra, ordinary differential equations, regression, random numbers, searching, and special functions.

We've selected key highlights from Mark 9 and shown in more detail how a particular routine or set of routines can be used and how they link into the existing capabilities of the NAG Library.

To learn more about a specific new area/function click on the relevant link below.

## Enhanced Chapters at Mark 9

• Ridge Regression (NAG Library Chapter G02 - Correlation and Regression Analysis)
• Optimization (NAG Library Chapter E04 - Minimizing and Maximising a Function)
• Partial-least squares (NAG Library Chapter G02 - Correlation and Regression Analysis)
• Nearest Correlation Matrix (NAG Library Chapter G02 - Correlation and Regression Analysis)
• Index-2 differential algebraic equations (NAG Library Chapter D02 - Ordinary Differential Equations)
• New base generators for pseudo-random sequences, including the Mersenne Twister, a new Wichmann-Hill generator and the ACORN generator (NAG Library Chapter G05 - Random Number Generators)
• Sobol quasi-random generator now allows for up to 50,000 dimensions (NAG Library Chapter G05 - Random Number Generators)
• Scrambled quasi-random sequences (NAG Library Chapter G05 - Random Number Generators)
• Multiple independent pseudo-random sequences via both skip-ahead and leap-frog algorithms (NAG Library Chapter G05 - Random Number Generators)
• Matrix exponential (NAG Library Chapter F01 - Matrix Operations, Including Inversion)
• ProMax rotations (NAG Library Chapter G03 - Multivariate Methods)
• Searching arrays of real-valued, integer or character data (NAG Library Chapter M01 - Sorting and Searching)
• Lambert's W function (NAG Library Chapter C05 - Roots of One or More Transcendental Equations)
• Fast quantile routine (NAG Library Chapter G01 - Simple Calculations on Statistical Data)
• Exponential smoothing of a univariate times series (NAG Library Chapter G13 - Time Series Analysis)
• Obtaining leading terms in the singular value decomposition of a real general matrix (NAG Library Chapter F02 - Eigenvalues and Eigenvectors)

The new functionality added at Mark 9 further enhances the comprehensive collection of numerical and statistical techniques offered by the library:

Numerical facilities

• Optimization, including linear, quadratic, integer and nonlinear programming and least squares problems
• Ordinary and partial differential equations, and mesh generation
• Numerical integration and integral equations
• Roots of nonlinear equations (including polynomials)
• Solution of dense, banded and sparse linear equations and eigenvalue problems
• Solution of linear and nonlinear least squares problems
• Special functions
• Curve and surface fitting and interpolation

Statistical facilities

• 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

For more information about the NAG C Library, select any of the links in the top right box, or contact us to discuss your needs.