Giter Site home page Giter Site logo

ofloveandhate / eigenpy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stack-of-tasks/eigenpy

0.0 2.0 0.0 1.64 MB

Efficient bindings between Numpy and Eigen using Boost.Python

License: BSD 2-Clause "Simplified" License

C++ 86.80% Python 7.53% CMake 5.49% Dockerfile 0.18%

eigenpy's Introduction

EigenPy — Efficient Python bindings between Numpy/Eigen

License Build Status Conda Downloads Conda Version PyPI version Code style: black

EigenPy is an open source framework which allows to bind 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 decomposition, SVD decomposition, QR decomposition, and etc.
  • full support of SWIG objects
  • full support of runtime declaration of Numpy scalar types
  • extended API to expose std::vector types

Setup

The installation of EigenPy on your computer is made easy for Linux/BSD, Mac OS X and Windows environments.

The Conda approach

You simply need this simple line:

conda install eigenpy -c conda-forge

Ubuntu

You can easily install EigenPy from binairies.

Add robotpkg apt repository

  1. Add robotpkg as source repository to apt:
sudo sh -c "echo 'deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg' >> /etc/apt/sources.list.d/robotpkg.list"
  1. Register the authentication certificate of robotpkg:
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
  1. You need to run at least once apt update to fetch the package descriptions:
sudo apt-get update

Install EigenPy

  1. The installation of EigenPy and its dependencies is made through the line:
sudo apt install robotpkg-py35-eigenpy

where 35 should be replaced by the python 3 you want to work this (e.g. robotpkg-py36-eigenpy to work with Python 3.6).

Mac OS X

The installation of EigenPy on Mac OS X is made via HomeBrew. You just need to register the tap of the sofware repository.

brew tap gepetto/homebrew-gepetto

and then install EigenPy for Python 3.x with:

brew install eigenpy

Credits

The following people have been involved in the development of EigenPy:

If you have taken part to the development of EigenPy, feel free to add your name and contribution here.

Acknowledgments

The development of EigenPy is supported by the Gepetto team @LAAS-CNRS and the Willow team @INRIA.

eigenpy's People

Contributors

jcarpent avatar nim65s avatar manifoldfr avatar wxmerkt avatar pre-commit-ci[bot] avatar nmansard avatar seanyen avatar jmirabel avatar proyan avatar olivier-stasse avatar gabrielebndn avatar fabinsch avatar fvalenza avatar jviereck avatar acmiyaguchi avatar aelkhour avatar gleichdick avatar rhaschke avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.