Registered Member
|
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 |
Moderator
|
SparseLU is for square problem. Either use SparseQR for least-square solving or assemble the normal equation and use SparseLU, or SimplicialLDLT, or ConjugateGradient.
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]