Skip to content

Introduce a new Numpy interface (Major change)

Ammar Nejati requested to merge a.newNumpyInterface into main

ArrayWrapper class is introduced to pass a C++ array to Python without using a Numpy C-API.

To convert a C-array to a Numpy via the Numpy Python-API, a Python module numpyutil is introduced.

The SWIG-generated wrappers and the examples are updated to use this new Numpy interface.

Edited by Ammar Nejati

Merge request reports

Loading