Skip to main content

Eigen Library for Python Linking

Project description

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()

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eigenpip-0.1.0.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

eigenpip-0.1.0-py3-none-any.whl (3.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page