Registered Member
|
Hi,
I am currently using Eigen to solve large sparse equation systems. Internally, our tool uses std::vector<...> to represent (dynamically sized) vectors (like the right-hand side and the solution vector of the equation system) since we also want to be able to use other solvers as backends. To not further delve into details: right now, I have to copy the input vectors (right-hand side and initial guess) into Eigen's format which consumes quite some time (I need to call things in Eigen a lot of times) and memory. Is there any way to avoid this copy? In particular, wouldn't it be a cool thing to be able to move the vector contents inside Eigen's vectors and back or am I using Eigen horribly wrong and should be using it differently? Thank you for your help, Chris |
Registered Member
|
Nevermind, I'm apparently too stupid to use the search correctly. If I'm not mistaken, the problem was solved here:
viewtopic.php?f=74&t=94839&p=331694&hilit=std%3A%3Avector#p331694 Sorry for my post, Chris |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]