Channels ▼
RSS

Design

Major Update To NAG Library For C and C++


The Numerical Algorithms Group (NAG) has new functionality added to its numerical library for C and C++ programmers.

NOTE: Although named a "group", NAG is a commercial software company dedicated to providing mathematical and statistical solutions very often for High-Performance Computing (HPC) environments.

The new functionality can be found at Mark 23 of the NAG C Library. It brings the number of routines to 1452 and includes "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.

NAG sells its concepts on the precepts of a simple equation. Software developers writing in C / C++ require accurate numerical functionality and so could write their own numerical code, but this can be extremely time consuming (especially for any nontrivial component).

So then, if freeware is too risky an option, NAG offers what it insists is a "trusted numerical function" that has been acutely tested and well documented. Plus of course, the routines in the NAG C Library enable it to be used across multiple programming languages, environments, and operating systems including Excel, Java, Microsoft .NET, Visual Basic, etc.

An anonymous quantitative analyst at an investment bank is on the record as saying that he was most excited about the inclusion of matrix functions (especially exponential), the additional nearest correlation matrix functions, the skip ahead for Mersenne Twister (as this is pretty non-trivial to implement), and the vectorized simple functions in the Statistics and Special Functions chapters.

NOTE: The Mersenne twister is a pseudorandom number generator based on a matrix linear recurrence over a finite binary field. It provides for fast generation of very high-quality pseudorandom numbers, having been designed specifically to rectify many of the flaws found in older algorithms.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 

Video