NAG and Python

The inherent flexibility of NAG’s mathematical and statistical routines make calling them from many different development environments, computer programming languages and software packages relatively straightforward.

Python is one such language from which NAG Library routines can easily be called. The links to white papers below give instruction on how to call NAG routines from Python.

NAG and Python White Papers and Articles

Calling the NAG Fortran Library from Python using F2PY

NAG and Python Series by Mike Croucher

Python/NAG Introduction - How to call the NAG C Library from Python using ctypes

PyNAG – Python interface to the NAG C Library

Python/NAG Part 1 – Making simple NAG functions available to Python

Python/NAG Part 2 – Plotting the cosine integral

Python/NAG Part 3 – Callback functions

Python/NAG Part 4 – Structures

Python/NAG Part 5 – Callback functions with communication

Python/NAG Part 6 – 'PyNAG' A Python package for interfacing with the NAG C Library

Latest version of PyNAG

Interfacing the NAG C Library and Python on Windows

Website Feedback

(If you're a human, don't change the following field)
Your first name.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.