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.

 

nag

 

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.

 

 

 nag

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

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

 

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.

 

Banner


Quadrupedal Parkour
31/03/2024

What is it with robots and parkour? First Atlas and now ANYmal want to impress us with their prowess. For the roboticist, however, emulating the skills of free running can enhance the capabilities of  [ ... ]



Is PHP in Trouble?
10/04/2024

The April 2024 headline for the TIOBE Index, which ranks programming languages in terms of their popularity, reads, "Is PHP losing its mojo" asking this question because this month PHP has dropped out [ ... ]


More News

Last Updated ( Monday, 24 September 2012 )