NAG Logo
Numerical Algorithms Group

Associated Information

C Header Files

Support for users wanting to call the NAG Fortran Library from C is provided in a document describing NAG C Header Files.

Mark 8 Windows DLL support for various environments

The Windows DLL version of Mark 8 of the C Library comes with example projects (in the Projects folder created on installation) which demonstrate how to call the library from

  • Microsoft Visual C++
  • Microsoft Visual Basic 6
  • Microsoft Visual Basic .NET
  • Microsoft Excel
  • Borland C++
  • Borland Delphi
  • Java
  • C#

Those same projects are presented here. It is expected that as experience is gained in new environments that further advice on the interoperability of the NAG C Library Windows DLL will become available and we intend to publish updates to the advice in this document from time to time.

Calling NAG C Library (DLL) from C#

Microsoft has provided techniques for calling non-managed code from C#, and .NET generally, summarised in three key concepts: attributes, assembly, and marshaling. Using these concepts it is possible to call the vast majority of NAG C Library functions fairly easily. Details are given here.

Calling the NAG C Library from Java

Detailed instructions on how to call routines in the NAG C Library from the Java programming language are given in this Technical Report.

We show examples using Java running on both UNIX and Microsoft Windows platforms. The techniques described are also applicable to other libraries, such as the NAG Fortran Library.

Decision Trees

Decision Trees within many chapters in the NAG C Library make finding the right routine easier and quicker than ever before. These trees are incorporated into the chapter introductions and lead the user through some simple yes/no questions that categorize the problem and lead to suggestions of the most suitable routines to be used.

© The Numerical Algorithms Group 2008
Privacy Policy | Trademarks

© Numerical Algorithms Group

Visit NAG on the web at:

www.nag.co.uk (Europe and ROW)
www.nag.com (North America)
www.nag-j.co.jp (Japan)

http://www.nag.com/numeric/CL/classocinfo.asp