Registered Member
|
For my last Thread has been used by another user, i dared to open another topic, plz forgive me ^^
Well i still try to solve Ax = b Now i printed the mazrix with higher precision and hope that someone can help me.
The solution has been calculated with Eigen::VectorXd X = A.colPivHouseholderQr().solve(b); If you rather see the matrices on some other site, plz tell me where i can put it, maybe as textfile or something? |
Registered Member
|
Now i solved the problem using lapacks dposv and some +epsilons if A is notposdef:
And it works quite fine. But how can i gain similar results using eigen-solvers? |
Moderator
|
dposv is equivalent to x = A.llt().solve(b);
to increment the diagonal: A.diagonal().array() += beta; |
Registered Member
|
Is there a way to check if llt was successful?
If A is not posdef how can i find out? So from now on it will take some time until i can if this works out, i only work one day per week at this project |
Moderator
|
LLT<MatrixXd> llt;
llt.compute(A); if(llt.info()==Succeed) // great else // update A |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]