This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Newbie question on sparse matrix

Tags: None
(comma "," separated)
pidanchen
Registered Member
Posts
20
Karma
0

Newbie question on sparse matrix

Fri Nov 11, 2011 6:05 am
Hi, I am trying to solve A*x = B. where both A and B are sparse. Furthermore, A is symmetric also. Seems that since A is symmetric, then I don't need to use those backend solvers such as UmfPack or superLU mentioned in

http://eigen.tuxfamily.org/api/TutorialSparse.html

Then is there any other functions already implemented in eigen that can solve my problem? I really don't want to download or link to other libraries...

Further more, how do I calculate the eigenvalues of the symmetric sparse matrix in eigen?


Thanks
pidanchen
Registered Member
Posts
20
Karma
0
After looking through the class references, I found several functions interesting.
SimplicialLDLt, SimplicialLLt, SparseLLT and SparseLDLT. Do these functions need any backend libraries? What about SparseLU?

Thanks
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
The documentation about sparse stuff is not really uptodate. In your case use one of the Simplicial* classes or the iterative ConjugateGradient<> solver (from the IterativeSolvers module).

The Sparse* solver are deprecated.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]