GithubHelp home page GithubHelp logo

mrcdr / lambda-lanczos Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 3.0 423 KB

C++ adaptive and header-only Lanczos algorithm library

License: MIT License

C++ 97.26% CMake 2.74%
c-plus-plus eigenvector-calculation header-only lanczos lanczos-algorithm matrix

lambda-lanczos's People

Contributors

jewettaij avatar mrcdr avatar robert-anderson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lambda-lanczos's Issues

Possible parallelization

Hi! Thank you for the provided package.

Currently, I need to calculate the smallest algebraic eigenvalue of large matrices (>1mln x 1mln). The current serial version is definitely not adapted for this purpose. What do you think, is it possible to parallelize the code using OpenMp (possibly some loops)?
Thank you!
Murod

simply #include path in lambda_lanczos.hpp

A small suggestion:
Replace:

#include <lambda_lanczos/lambda_lanczos_util.hpp>

with

#include <lambda_lanczos_util.hpp>

(You will also have to modify the files in the src directory and change the g++ arguments.)

It is not necessary to move lambda_lanczos.hpp or lambda_lanczos_util.hpp. They can remain inside the lambda_lanczos/ subdirectory. But changing the #include statement in lambda_lanczos.hpp will give other developers more freedom to move your files where they prefer.

For example, I use your lambda_lanczos repository as a git submodule inside one of my repositories. (Including your code as a submodule prevents me from modifying your code.)

People who use my repository will probably copy your files to a new directory containing my code. They must move your files to a "lambda_lanczos/" subdirectory, or modify the #include statements. I think C++ programmers are smart enough to figure this out. Anyway, I added a warning message.

This is a very small issue. I hesitate to bother you. (Perhaps I should avoid using git submodules.)

Position of the largest Eigenvector

Hi mrcdr,

I very much like your implementation :-) Is there any possibility to figure out the original column / position of the largest Eigenvector? This information could be necessary to me.

Cheers,
Dominik

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.