openSUSE Forums > Programming/Scripting » c++ matrix library for computing eigenvalues/eigenvectors

Go Back   openSUSE Forums > Programming/Scripting
Forums FAQ Members List Search Today's Posts Mark Forums Read


Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 21-Oct-2009, 11:43
Student Penguin
 
Join Date: Jun 2008
Posts: 74
mattm3a hasn't been rated much yet
Default c++ matrix library for computing eigenvalues/eigenvectors

Does anyone have recommendations for a good matrix library for C++ for computing eigenvectors and eigenvalues? I'm more interested in ease of programming than speed.

There are a number of competing libraries, and I'm wondering which may be better for my uses.
Reply With Quote
  #2 (permalink)  
Old 21-Oct-2009, 12:55
Student Penguin
 
Join Date: Jun 2008
Location: Oregon, US
Posts: 86
elserj hasn't been rated much yet
Default Re: c++ matrix library for computing eigenvalues/eigenvector

I've used both the standard netlib lapack and blas, as well as the Intel Math Kernel Library. The Intel one is faster, but might not be free. You may be able to get a free version for educational use, but I don't recall for sure.

The netlib lapack and blas can just be installed via yast, and works fine, if a bit slower. I think this is basically the standard that everyone uses, so there is probably way more info online on how to use it then others.

I think you can also use the gsl (GNU Scientific Library), but I have not tried this.

Note that the netlib software is written in Fortran, but you should be able to use the libraries with C++.
Reply With Quote
  #3 (permalink)  
Old 21-Oct-2009, 13:02
Monex's Avatar
Busy Penguin
 
Join Date: Jun 2008
Location: Germany
Posts: 256
Monex hasn't been rated much yet
Default Re: c++ matrix library for computing eigenvalues/eigenvector

Hi,

there is also a boost module for Boost Basic Linear Algebra.
There are more math modules available too Library Documentation - Math and numerics maybe you'll find something useful in there

Hope this helps
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2