
You can also check out pybind11, xtensor, and xtensor-python
The latter enables a high-level numpy-like API on the C++ side.
You can check out the numpy to xtensor cheat sheet:
http://xtensor.readthedocs.io/en/latest/numpy.html
Best,
Sylvain
On Thu, Feb 1, 2018 at 12:11 AM, Stefan Seefeld stefan@seefeld.name wrote:
On 31.01.2018 17:58, Chris Barker wrote:
I'm guessing you could use Cython to make this easier.
... or Boost.Python (http://boostorg.github.io/python), which has built-in support for NumPy (http://boostorg.github.io/ python/doc/html/numpy/index.html), and supports both directions: extending Python with C++, as well as embedding Python into C++ applications.
[image: Stefan]
--
...ich hab' noch einen Koffer in Berlin...
NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion