Registered Member
|
I've got a problem that is calculating Ax = b 18 times per iteration of a loop with different b's. If I do A.ldlt().solve(b) each time, is Eigen recalculating the decomposition each time or does it calculate it the first time and stores it for the next 17 times? If it isn't persistent for the 18 calls, is there a way to make it persistent(something = a.ldlt()?)?
|
Registered Member
|
In this case, Eigen will calculate the decomposition each time. You can do something like
|
Registered Member
|
Awesome! My interns, my advisor's vien on his forehead, and I thank you.
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]