NAG Updates C Library
NAG Updates C Library
Written by Alex Armstrong   
Tuesday, 25 September 2012

The Numerical Algorithms Group (NAG) has announced a major update to its library of numerical routines for C and C++ programmers, including new optimizers.

The mathematical and statistical routines in the NAG C Library can be used across multiple programming languages, environments and operating systems including Excel, Java and Microsoft .NET.




The new functionality of Mark 23 of the NAG C Library brings the total number of routines to 1452. It also has two entirely new chapters plus extensions in the areas of statistics, nonlinear equations, wavelet transforms, ordinary differential equations, interpolation, surface fitting, optimization, matrix operations, linear algebra, large scale linear systems, and special functions.

The C Library now has several new matrix functions: matrix exponential and functions of symmetric/Hermitian matrices, matrix logarithm, matrix sine, matrix cosine, hyperbolic matrix sine, hyperbolic matrix cosine for real and complex matrices.

Its Nearest Correlation Matrix functionality has been extended to include functions for k-factor structure and weights and bounds on the matrix elements.

One useful enhancement, that is not widely available elsewhere is a skip ahead function for the Mersenne Twister random number generator, a fast generator with extremely long period.

The newly added L’Ecuyer random number generator combines two multiple recursive generators to provide a sequence with good statistical properties and a long period.

New functions have been added for interpolation of four- and five-dimensional data. Also functions for two dimensional discrete wavelet transforms have been introduced; these are important tools often used for image processing.

Two new s linear quantile regression functions supplement the wide variety of regression techniques already available in the NAG libraries.

There are four new optimization techniques:  Two new multi-start optimization functions further expand NAG’s global optimization coverage; minimization by quadratic approximation (BOBYQA) is of particular use with noisy functions and stochastic global optimization using Particle Swarm Optimization (PSO) is one of the most well-established of the stochastic approaches applied to this global optimization.




More Information

The NAG C Library - Included in Mark 23

Related Articles

New number crunching library - NAG C Mark 9

.NET Version of Mathematical Algorithms

How to number crunch - NAG for .NET






or email your comment to:


To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.



GitHub Marketplace Now Accepts Free Apps and Offers Free Trials

A year after Github Marketplace launched, it has been opened up to all developers and you can now list free apps on Marketplace for free. Free trials of apps have also been introduced, a feature that  [ ... ]

Walk A Thousand VR Miles And Never Leave The Room

In sci fi virtual reality is much realer than it is in reality, if you see what I mean. For one thing users can always walk around as if there were infinite space, but in reality they are confined in  [ ... ]

More News

Last Updated ( Monday, 24 September 2012 )

RSS feed of news items only
I Programmer News
Copyright © 2018 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.