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

max size sparse matrix

Tags: None
(comma "," separated)
robertmandela
Registered Member
Posts
1
Karma
0

max size sparse matrix

Wed May 28, 2014 6:43 pm
Hi,

I'm using the Eigen library for 3D computer vision. I'm running visual studio 2010 32bit on a 64 win8 computer.
I must solve a least square problem with 75000 variables and 98351 equations. (Ax=b)
The size the the sparse matrix A is then A(98351,75000).

I have a problem with the solver (SparseLU) but it looks like if the sparse matrix A has some problem due to its size.
When I want to know the size of it, after declaration, I have A.size() < 0. Indeed I get a negative value.

Does someone know what's happening and what to do ?
Thanks

robert
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: max size sparse matrix

Wed May 28, 2014 9:34 pm
SparseLU is for square problem. Either use SparseQR for least-square solving or assemble the normal equation and use SparseLU, or SimplicialLDLT, or ConjugateGradient.


Bookmarks



Who is online

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