Downloads - Calling the NAG Library from .NET
.NET Declarations

For most new projects we recommend using the declarations for .NET, available to download as source. These are usable with Framework 4 and also current .NET Core releases such as .NET 5. To use the .NET declarations you will need the NAG Library installed on your computer.

.NET includes classes that provide declarations that allow managed .NET code to access functions from a native compiled library such as the NAG Library.

The .NET declarations are available in C# and VB.NET and are usable in other .NET languages, see, for example, the F# examples.
library
NAG Library downloads, for use with the header files
  • Windows

  • Linux

Note: .NET is also available on Mac, and these declarations should work on that platform with minor changes to the name of the referenced library.

windows
Windows
Windows 32-bit

Includes C and Fortran Interfaces
Compilers:
Intel C/C++ 32-bit version 2021.4.0 and compatible or Microsoft 32-bit C/C++ version 19.00 and compatible
Intel Classic Fortran version 2021.4.0 and compatible

Windows 64-bit

Includes C and Fortran Interfaces
Compilers:
Intel Classic C/C++ 64-bit version 2021.4.0 and compatible or Microsoft 64-bit C/C++ version 19.00 and compatible
Intel Classic Fortran version 2021.4.0 and compatible

linux
Linux
Linux 64-bit

Includes C, Fortran and AD Interfaces
Compilers:
Intel Classic C/C++ version 2021.4.0 and compatible or GNU C version 11.2 and compatible
Intel Classic Fortran version 2021.4.0 and compatible
ABI: C++11
System:
GNU C Library (libc) 2.23, GNU C++ Library (libstdc++) 3.4.22 or later (implemented on Fedora 24)

Linux 64-bit

Includes C, Fortran and AD Interfaces
Compilers:
Intel Classic C/C++ version 2021.4.0 and compatible or GNU C version 7.3 and compatible
Intel Classic Fortran version 2021.4.0 and compatible
ABI: C++98
System:
GNU C Library (libc) 2.17, GNU C++ Library (libstdc++) 3.4.19 and compatible (implemented on Centos 7)