brendan-ward / pybind11_obj_test

Test of pybind11 creating object numpy arrays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple test of pybind11 creating numpy arrays of objects managed in C++.

See src/pybind11_obj_test.cpp

Install pybind11: pip install pybind11.

Then run python setup.py develop in this repo.

See the test in test.py. After compiling it should print points.

About

Test of pybind11 creating object numpy arrays

License:MIT License


Languages

Language:C++ 83.6%Language:Python 16.4%