Giter Site home page Giter Site logo

eigensolver's Introduction

Eigensolver library

Description

This library contains code for the fast computation of eigenvectors corresponding to the dominant eigenvalues of large, sparse matrices. This code can be used with arbitrary matrices. However, its main application is the obtainment of the stationary distributions of stochastic matrices corresponding to Markov chains with very large state spaces.

Dependencies

The library uses ARPACK-ng [1] for the (shift-and-invert) Arnoldi iteration method together with the SPQR solver from the SuiteSparse library [2].

Compilation

Follow these steps:

mkdir build

cmake ..

make && make test

Usage

The program test-eigen-solver is an example of a stand-alone tool for computing the dominant eigenvalue of a sparse matrix.

Matrices are stored as text files whose first line contains the dimension (maximum number of rows or columns) with each of the remaining lines containing two indices and a value (separated by white space). There are several examples of valid matrix files in the test-data folder.

Support for the Matrix Market format [3] will be added in the future.

[1] Lehoucq, R. B., Sorensen, D. C., & Yang, C. (1998). ARPACK Users’ Guide. doi:10.1137/1.9780898719628

[2] Davis, T. A. (2011). Algorithm 915, SuiteSparseQR: multifrontal multithreaded rank-revealing sparse QR factorization. ACM Trans. Math. Software, 38(1), 1–22. doi:10.1145/2049662.2049670

[3] http://math.nist.gov/MatrixMarket/

eigensolver's People

Contributors

jmbr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

kingboxing

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.