eigenpy

Python bindings for Eigen library with NumPy array support

brewmacoslinux
Try with needOr install directly
Source

About

Python bindings of Eigen library with Numpy support

Commands

eigenpy

Examples

Import eigenpy in Python to use Eigen matrices with NumPy$ python3 -c "import eigenpy; print(eigenpy.__version__)"
Create and manipulate Eigen matrices through Python$ python3 -c "import eigenpy; import numpy as np; m = eigenpy.Matrix3d(); print(m)"
Convert between NumPy arrays and Eigen matrices$ python3 -c "import eigenpy; import numpy as np; arr = np.array([[1,2],[3,4]]); mat = eigenpy.Matrix(arr); print(mat)"