GithubHelp home page GithubHelp logo

eigenrecursive's Introduction

Eigen Recursive Matrix Extension (ERME)

ERME is an extension to the Eigen math library for recursive linear algebra.

Features

  • Template specializations to allow the creation and usage of recursive matrix types
  • Support for recursive sparse matrices (for example a block-sparse matrix)
  • A recursive LDLT decomposition, based on Eigen's simplicial implemenation
  • Mixed matrix types and mixed recursive solvers for structured optimization problems

Usage

    // See samples/helloRecursive for the full example
    #include "EigenRecursive/All.h"
    int main(int, char**)
    {
         using namespace Eigen;
         using namespace Eigen::Recursive;

         using Block          = Matrix<double, 2, 2>;
         using MatrixOfMatrix = Matrix<MatrixScalar<Block>, 2, 2>;

         MatrixOfMatrix A, B, C;
         setRandom(A);
         setRandom(B);

         C = A * B;

         std::cout << C << std::endl;
         return 0;
    }

Samples and Benchmarks

Compile and run instructions:

    mkdir build
    cd build
    cmake ..
    make -j8
    ./helloRecursion

Sparse Block benchmark:

  • Install the MKL library and make sure it is found by cmake.
  • Compile in Release mode. (I currently recommend to use the latest Clang compiler)

Bundle Adjustment:

  • Install Sophus from source: Link

Other examples (included in the Saiga library):

License

This project contains (modified) code from the Eigen library. You can find the Eigen license here.

All of our code is under the MIT License. See the LICENSE file for more information.

Copyright (c) 2019 Darius Rückert [email protected]

eigenrecursive's People

Contributors

darglein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.