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

Eigen Sparse Solvers work not correctly

Tags: None
(comma "," separated)
hipkh
Registered Member
Posts
4
Karma
0
Hello everyone

Recently I have started to use Eigen library. I find it very good, but I have found that sparse solvers return not correct solution.
The rank of the linear system of equations is about 1600. I have tried SparseLU, BiCGSTAB, SimplicialCholesky.
I have checked the solution with Blas and Matlab.
Can someone help me with this problem?
How can I attach the files with A and B matrices (A x = B)?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
Code: Select all
#include <unsupported/Eigen/SparseExtra>
...
Eigen::saveMarket(A, "filename.mtx", Eigen::Symmetric);
Eigen::saveMarketVector(B, "filename_b.mtx");


You might also try the benchmark routine: http://eigen.tuxfamily.org/dox/group__T ... tml#title3
hipkh
Registered Member
Posts
4
Karma
0
I am sorry, I have made mistake in my code.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell