PyGSL with numpy?
![](https://secure.gravatar.com/avatar/ad21d909c0ffcff2c377c7ee67aba291.jpg?s=120&d=mm&r=g)
I'm part of a project that is doing scientific computing with a mix of C++ and python (all the heavy lifting being done in C++ for speed). We need a scientific library that can be used in C++ (which puts out scipy) and preferably can also be used in python. We're considering GSL, which has a python wrapper (PyGSL), the latter of which apparently works with numpy. Has anyone tried this? How is the integration? Are there other solutions we should be considering? Regards, -- Russell
![](https://secure.gravatar.com/avatar/b0ea6746ff332efedba70843116f9b84.jpg?s=120&d=mm&r=g)
hi, another option that comes immediately to mind is to use SWIG to expose your C++ code to python. That is what we are doing routinely in my work. HTH, Johann Russell E. Owen wrote:
I'm part of a project that is doing scientific computing with a mix of C++ and python (all the heavy lifting being done in C++ for speed). We need a scientific library that can be used in C++ (which puts out scipy) and preferably can also be used in python. We're considering GSL, which has a python wrapper (PyGSL), the latter of which apparently works with numpy.
Has anyone tried this? How is the integration? Are there other solutions we should be considering?
Regards,
-- Russell
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
![](https://secure.gravatar.com/avatar/b0ea6746ff332efedba70843116f9b84.jpg?s=120&d=mm&r=g)
sorry wrong thread :( JCT Russell E. Owen wrote:
I'm part of a project that is doing scientific computing with a mix of C++ and python (all the heavy lifting being done in C++ for speed). We need a scientific library that can be used in C++ (which puts out scipy) and preferably can also be used in python. We're considering GSL, which has a python wrapper (PyGSL), the latter of which apparently works with numpy.
Has anyone tried this? How is the integration? Are there other solutions we should be considering?
Regards,
-- Russell
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
participants (2)
-
Cohen-Tanugi Johann
-
Russell E. Owen