Bindings between Numpy and Eigen using Boost.Python
Low maintenance activity. Last release 6 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install eigenpyEigenPy — Versatile and efficient Python bindings between Numpy and Eigen
EigenPy is an open-source framework that allows the binding of the famous Eigen C++ library in Python via Boost.Python.
EigenPy provides:
- full memory sharing between Numpy and Eigen, avoiding memory allocation
- full support Eigen::Ref avoiding memory allocation
- full support of the Eigen::Tensor module
- exposition of the Geometry module of Eigen for easy code prototyping
- standard matrix decomposion routines of Eigen such as the Cholesky, SVD and QR decompositions
- full support of SWIG objects
- full support of runtime declaration of Numpy scalar types
- extended API to expose several STL types and some of their Boost equivalents:
optionaltypes,std::pair, maps, variants... - full support of vectorization between C++ and Python (all the hold objects are properly aligned in memory)
Installation
The installation of EigenPy on your computer is made easy for Linux/BSD, Mac OS X, and Windows environments.