NAG Library Extended
Written by Alex Armstrong   
Tuesday, 19 May 2015

The Numerical Algorithms Group (NAG) has released an updated version of its library of  mathematical and statistical routines. Mark 25 adds more than 80 additional routines, bringing the total to over 1800.

If you want to add mathematical and statistical functionality to your applications, or if you have complex mathematical problems to solve, you can either start from scratch to implement the algorithm you need, or you can look for an off-the-shelf solution.

This is where the NAG Library comes into the picture and with so many numerical routines included (over 1800) it is very likely to include something useful.

You don't just get the code. Each routine has documentation providing background information and function specification. NAG documentation also guides users, via decision trees, to the right function to solve their problem. Example programs are included for all routines and in cases where a specific example program requires any input, test data and a helpful expected results file is available.

The library is available in many languages across several platforms:



New routines in Mark 25, some of which are in resonse to customer requests, include:

  • Change Point Analysis

  • High Dimensional Quadrature using Sparse Grids

  • Unscented Kalman Filter

  • Bandwidth Reduction of Sparse Matrix by Reverse Cuthill-McKee Reordering

  • Least Angle Regression (LARS), Least Absolute Shrinkage and Selection Operator (LASSO) & Forward Stagewise Regressionnaglasso 

Mark 25 also has many new matrix functions; extended functionality in the area of computing the nearest correlation matrix; solutions to the classical Travelling Salesman Problem and a new chapter on OpenMP utilities.

If you are not already a customer you can request a trial version from NAG Software Trials.





More Information


NAG Library

Related Articles

NAG Library For Java Updated

NAG Updates C Library

New number crunching library - NAG C Mark 9

.NET Version of Mathematical Algorithms

How to number crunch - NAG for .NET 


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



Next.js Updates Runtime

Next.js has been updated with a new, better, runtime along with a new package that extends what’s possible with Next.js Middleware. Next.js is an open-source toolkit for universal, server-rendered ( [ ... ]

AI-Based Artwork Wins Prize

An art prize has been won by an artwork created using a combination of AI and PhotoShop. While the judges didn't know the origins of the work, they have said they'd still have given it first prize had [ ... ]

More News


Last Updated ( Tuesday, 19 May 2015 )