Issue 48, 15 September 2005

In this issue:

For more information about any of the articles featured in this issue, please do not hesitate to contact us at

Top Story - NAG launches new Academic Community Program

NAG has developed the Academic Community Program to allow universities and other degree granting institutions freedom from the usual restrictions found within standard software licence agreements. This ensures that both staff and students can work with ease either independently or as part of a wider collaborative project. There are even ways to allow those not working within the site to use the software and contribute to projects.

NAG Products in the program are grouped together for ease of purchasing and licences are available for both site-wide and departmental usage. The program is available for worldwide degree granting learning institutions with variances for those in North America and Japan.

For more information on the program please click here or email directly on

Industry News - NAG components underpin finance portfolio management tool

ClariFI, providers to the quantitative fund management industry, have teamed up with NAG to incorporate the globally renowned NAG C Library in the ClariFI ModelStation™. ModelStation is the world's first platform to integrate factor analysis, trading strategy construction and portfolio risk management.

ClariFI called upon NAG because many of their customers are sophisticated asset managers and quantitative analysts who are familiar with NAG's high quality, fast and robust algorithms. NAG software components strengthen the mathematical and statistical capabilities of the platform while reducing critical development time.

To read more about the collaboration please click here If you would like to read more about NAG's Software Partner Program visit

NAG in the News - Calling the NAG C Library DLLs from C#

The .NET Framework was designed to be the “lingua franca” for Windows development, with the expectation that it will set a new standard for building integrated software for Windows. However, it is inevitable that there is a time lag before .NET is fully adopted and existing applications are recoded. In particular, there is a large body of legacy code that will likely never be rewritten in .NET. To address this situation, Microsoft provides attributes, assembly, and marshaling. At NAG, our particular interest in using these techniques is to utilize numerical software developed in C from within the .NET environment. Because C# is the premier .NET language, the examples I present in this article are in C#. While I use an example of data types that are current in the NAG C Library, the techniques I present are general enough for calling unmanaged code written in C from C# directly.

To read the entire article written by Shah Dartina, Senior Technical Consultant at NAG please click here The article was published in Dr. Dobb's Journal, October 2005 edition.

Congratulations - NAG Advisor elected to US National Academy of Engineering

We are delighted to congratulate Velvel Kahan on his recent election as a Foreign Associate of US National Academy of Engineering. Velvel Kahan has advised NAG on a number of occasions, particularly during the development of FPV, NAG's floating point validation package. However, Velvel's biggest contribution has been his work on the development of the IEEE standards for floating point arithmetic, which has made life considerably easier for those writing and implementing portable numerical software.

To read more about the NAE please visit

Tips & Hints - Windows Computing from Microsoft Office Suite

It is well known that the NAG DLL implementations provide an excellent source of algorithmic power to boost the functionality of the Microsoft Office suite. Previous articles have described how easy it is to use the libraries in this way. The DLL libraries are provided with examples of use within the Excel package and also the necessary interfacing software to VB and VBA.

Some users have asked why when they solve a problem within Excel using a NAG routine, slightly different answers are obtained when they repeat the same calculation immediately afterwards. The Intel chip can support 80-bit and 64-bit operation. The NAG libraries use the 64-bit operating mode because this is the default operation with the compilers used to form the DLLs. The first time a problem is solved this will be the mode of operation. The mode can be changed by setting the Floating Point Control Word and Excel does this to set the mode of working to 80-bit. In consequence the second time the problem is solved the NAG libraries will start the calculation in 80-bit mode.

For well-conditioned problems this is not serious and the NAG library routines will switch back to 64-bit working whenever it is essential for the correct working of an algorithm, but it can be disconcerting to see this behaviour. A solution is to set the Floating Point Control Word before each call to a NAG routine. At the next release of the libraries NAG will expose this functionality from the DLLs; at the moment an external compiler function is required.

For more information on NAG's DLLs click here or email us at with any specific questions.

Events - Seattle USA
  • SC|05, Seattle
    NAG will be exhibiting at the world's largest international conference on high performance computing from 12th - 18th November 2005. Under the theme “Gateway to Discovery”, SC05 will showcase how high performance computing, networking, storage and analysis leads to advances in research, education and commerce.

    For more information on this prestigious event please visit the event website at

Product News - New Implementations

NAG is committed to offering new implementations of its broad range of numerical and statistical software, compilers and tools. Since the last edition of NAGNews platform availability has increased for the NAG Fortran Library.

The NAG Fortran Library, Mark 21 is now also available for the following platforms:

  • AMD-64 Linux64 using the NAGWare f95, the g77 v3.3.3 and the pgf77/pgf90 v 5.2 Compilers
  • AMD-64 Solaris 64-bit using the Sun f95 v8.1 Compiler
  • HP PA-RISC 1.1 or 2.0 HP-UX using the HP f90 v2.8 Compiler

Managing your subscription

Please feel free to forward this newsletter to colleagues or to post it to your company's Intranet sites.

To subscribe, unsubscribe or learn more about managing your subscription, please see: