eigenpip

Eigen Library for Python Linking


Install
pip install eigenpip==0.1

Documentation

eigenpip: Recent Version of Eigen Library for Python

Mohan Wu, Martin Lysy


Description

eigenpip is a recent distribution of the C++ Eigen library for Python linking. Some applications of the library can be found in our Kalman package. There are two main functions to eigenpip. The first is installing the Eigen library to give access to other Python packages. The second is give the user access to the path of the Eigen library.

Installation

To instal from pypi:

pip install eigenpip

For a normal installation:

git clone https://github.com/mohanwu/eigenpip
cd eigenpip
pip install .

If you would like to your own version of the Eigen library then set the environment variable EIGEN_PATH to the path of your library.

On Linux:

EIGEN_PATH="/ABSOLUTE/PATH/TO/EIGEN/LIBRARY" pip install .

On Windows Powershell:

$env:EIGEN_PATH = "/ABSOLUTE/PATH/TO/EIGEN/LIBRARY"; pip install .

Usage

To get the path of the Eigen library:

import eigenpip

EIGEN_PATH = eigenpip.get_include()