Numerical Recipes Forum  

Go Back   Numerical Recipes Forum > Numerical Recipes Third Edition Forum > Using NR3 with Python

Thread Tools Rate Thread Display Modes
Old 03-17-2012, 07:19 PM
Bill Press Bill Press is offline
Numerical Recipes Author
Join Date: Jan 2002
Posts: 227
Tutorial on using NR3 (or any other C++ code) from within Python

Python and NR3 are a powerful combination. You can have access to Python's convenience, shared libraries, and great graphics, and also access the raw speed of compiled C++ code and NR3's many unique algorithms.

A tutorial is at

A free interface file, which substitutes for the standard nr3.h file, is at

Users are encouraged to post their experiences at interfacing Python to NR3 (or to C++ code in general) to this forum, starting new threads for different topics.

Right now, the interface should be considered as alpha-test code, so bug reports are particularly welcome.

Python-callable C++ wrapper functions for NR3 routines are also welcome to be posted. (But please don't post the NR3 code, only the wrapper.)
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 10:09 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.