Thread: Library for Eigenvalues and Eigenvectors

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    6

    Library for Eigenvalues and Eigenvectors

    Hi everyone,
    does anyone knows any library in c for calculating eigenvalues and eigenvectors of large, symmetric, sparse matrices?
    Specifically i want the second smallest eigenvalue and the eigenvector!
    Forgive me for my bad english!
    Thnx.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    A quick search of the Web brings up GSL - GNU Scientific Library.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Jul 2011
    Posts
    6
    Thanks! Any other suggestion?

  4. #4
    Make Fortran great again
    Join Date
    Sep 2009
    Posts
    1,413
    There are beyond too many to name. A popular choice is LAPACK — Linear Algebra PACKage.

  5. #5
    Technical Lead QuantumPete's Avatar
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    894
    Quote Originally Posted by ioan1ioan View Post
    Thanks! Any other suggestion?
    Why don't you just Google this yourself?
    "No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
    "Have you tried turning it off and on again?" - The IT Crowd

  6. #6
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by ioan1ioan
    Any other suggestion?
    You can try: C matrix library
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-08-2012, 10:23 PM
  2. c code for eigenvectors and eigenvalues for 4x4 matrix
    By sanjana in forum C++ Programming
    Replies: 2
    Last Post: 10-11-2011, 02:52 PM
  3. Finding Eigenvalues and Eigenvectors of a matrix
    By Zeeshan in forum C++ Programming
    Replies: 3
    Last Post: 06-13-2008, 02:50 AM
  4. Eigenvalues for 2x2 Matrix
    By dcwang3 in forum C Programming
    Replies: 18
    Last Post: 02-18-2008, 08:35 PM
  5. Replies: 19
    Last Post: 01-12-2006, 11:04 AM