NAG Library for .NET, Release 1

 DTW3A01DAL - License Managed

 Windows XP/Vista/Windows 7 x86-32, x86-64





This implementation is a compiled, tested, ready-to-use version of the

NAG Library for .NET that is considered suitable for operation on the

computer systems detailed below:


x86-32, x86-64 systems


operating system

Microsoft Windows XP/Vista/7, Windows Servers 200x

Visual Studio:

2005, 2008 and 2010 or .NET SDK 2.0 onwards





Post Release Information


The following shows the folder and file organization of the implementation materials as they will be installed on a x86-64 system [Program Files (x86)]\NAG


NAG Library  for .NET   














Kusari Licence








On an x86-32 system the 64 bit components listed above are not installed


Choice of Assemblies


The 32 bit assembly, NagLibrary32.dll was built using the following options

   /target:library /platform:x86 /optimize


The 64 bit assembly, NagLibrary64.dll was built using the following options

   /target:library /platform:x64 /optimize


It follows that the 32 bit assembly can be used on both 32 and 64 bit operating systems with the appropriate platform option. The F# interpreter needs to use the 32 bit assembly even on a 64 bit operating system.

Choice of Native Dlls.

The default native Fortran dlls use the NAG implementation of BLAS and LAPACK routines. If you wish to use the ACML version of BLAS and LAPACK then you may do so by copying over the relevant file. For example to use the 32 bit ACML BLAS and LAPACK simply copy DTW3206DA_acml.dll to DTW3206DA.dll. The library based on the ACML is likely to be quicker due to the efficient implementation of BLAS and LAPACK routines. One aspect of this library worth noting is that it spawns OpenMP threads as required. We would advise the use of the NAG BLAS and LAPACK based library if your application also spawns threads.

Example Results

The distributed example results were generated using the 32 bit version of the library with the NAG implementation of BLAS and LAPACK. These example results may not be exactly reproducible if the example programs are run in a slightly different environment (for example, a 64 bit library with ACML implementation of BLAS and LAPACK). The results which are most sensitive to such differences are: eigenvectors (which may differ by a scalar multiple, often -1, but sometimes complex); numbers of iterations and function evaluations and residuals and other "small" quantities of the same order as the machine precision.

NAG Library help

A fully integrated help system is provided for use within the Visual Studio IDE for all versions of Visual Studio prior to VS2010. Intellisense is available for all versions of Visual Studio. Help is also available in html help file in the Start Menu(start->NAG->NAG Library for.NET-> NagLibrary Help). Also provided with the NAG Library for .NET are example classes, data and results for each of the static methods in the managed assembly, NagLibrary32.dll or NagLibrary64.dll. Each of the example classes can be used as a self-contained class within a console project or via the command line. These examples can be used as templates for the user's own applications.

.NET Application for Example Program

A NAG Library for .NET application is also included which can be executed from the Start menu (Start->NAG->NAG Library for .NET->NAG Library for .NET Example Application). This application provides a GUI that enables any subset of example programs to be conveniently executed.

License Installation and Activation


The NAG Library for .NET is a fully license managed product. To use the product you will need to obtain a license key. This can be obtained by following the instructions after clicking 'Request or Install license key' found in the Start menu(Start->NAG->NAG Library for .NET). To ensure that the license has been installed correctly please run the NAG Library for .NET Example Application (described in the previous section) and execute an example program.

Support from NAG


a)      Contact with NAG

Queries concerning this document or the implementation generally should be directed to NAG at one of the addresses given in the section "NAG Worldwide Contact Information". Users subscribing to the support service are encouraged to contact one of the NAG Response Centres (see below).

b)      NAG Response Centres

The NAG Response Centres are available for general enquiries from all users and also for technical queries from sites with an annually licensed product or support service. The Response Centres are open during office hours, but contact is possible by fax, email and phone (answering machine) at all times. When contacting a Response Centre, it helps us deal with your enquiry quickly if you can quote your NAG site reference and NAG product code (in this case DTW3A01DAL).

c)       NAG Websites

The NAG websites provide information about implementation availability, descriptions of products, downloadable software, product documentation and technical reports. The NAG websites can be accessed at the following URLs:


d)      NAG Electronic Newsletter

If you would like to be kept up to date with news from NAG then please register to receive our free electronic newsletter, which will alert you      to announcements about new products or product/service enhancements, technical tips, customer stories and NAG's event diary. You can register via one of our websites, or by contacting us at 


e)      Product Registration

To ensure that you receive information on updates and other relevant announcements, please register this product with us. For NAG Library products this may be accomplished by filling in the online registration form at


User Feedback


Many factors influence the way that NAG's products and services evolve, and your ideas are invaluable in helping us to ensure that we meet your needs. If you would like to contribute to this process, we would be delighted to receive your comments. Please contact any of the NAG Response Centres (shown below).



 NAG Worldwide Contact Information


UK - Corporate Headquarters

The Numerical Algorithms Group Ltd

Wilkinson House

Jordan Hill Road




 UK Hosted Web Site:



Response Centre

General Enquiries (Europe & ROW):

+44 (0)1865 511245 Telephone

+44 (0)1865 310139 Fax

Technical Support (Europe & ROW):

+44 (0)1865 311744 Telephone

+44 (0)1865 310139 Fax

North America

The Numerical Algorithms Group, Inc.

801 Warrenville Road

Suite 185

Lisle, IL  60532-4332


 US Hosted Web Site:


Response Centre:

General Enquiries (North America):

+1 630 971 2337 Telephone

+1 630 971 2706 Fax

Technical Support (North America)

+1 630 971 2337 Telephone

+1 630 971 2706 Fax


Nihon Numerical Algorithms Group KK

Hatchobori Frontier Building 2F

4-9-9 Hatchobori


Tokyo 104-0032


Japan hosted web site:


Response Centre:

General Enquiries (Japan):

+81 3 5542 6311 Telephone

+81 3 5542 6312 Fax

Technical Support (Japan):

+81 3 5542 6311 Telephone

+81 3 5542 6312 Fax


Numerical Algorithms Group

Taiwan Branch Office

5F.-5, No.36, Sec.3,

Minsheng E. Rd.,

Taipei City 10480,


Taiwan hosted web site:


Response Centre:

General Enquiries (Taiwan):

+886-2-25093288 Telephone

+886-2-25091798 Fax

Technical Support (Taiwan):

+886-2-25093288 Telephone

+886-2-25091798 Fax