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

SVD using DynamicSparseMatrix

Tags: None
(comma "," separated)
manuels
Registered Member
Posts
47
Karma
0

SVD using DynamicSparseMatrix

Tue Feb 15, 2011 2:11 pm
Hi,

is it possible to use DynamicSparseMatrices for a singular value decomposition?

I'm getting this error:
Code: Select all
/home/manuel/Programs/lib/eigen/Eigen/src/SVD/JacobiSVD.h:268: error: ‘Options’ is not a member of ‘Eigen::DynamicSparseMatrix<double, 0, int>’


Is this combination impossible in Eigen?

Cheers,

Manuel
manuels
Registered Member
Posts
47
Karma
0

Re: SVD using DynamicSparseMatrix

Tue Feb 15, 2011 2:50 pm
Ok, now I understood: JacobiSVD's parameter is not the input but the output type.

But would it be possible to tell JacobiSVD just to compute the smallest/largest N singular values and corresponding vectors?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: SVD using DynamicSparseMatrix

Tue Feb 15, 2011 3:14 pm
JacobiSVD is for dense matrices only. Sparse SVD algorithms are quite different and currently we don't offer that. sorry.
manuels
Registered Member
Posts
47
Karma
0

Re: SVD using DynamicSparseMatrix

Wed Feb 16, 2011 9:02 pm
Ok, so I've got to use ARPACK++. Thanks anyway!


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft