Re: [eigen] Appending items in VectorXfs

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


> It can be done by allocating a tmp of size x.size()+1 in each loops and
> copying there, adding the element and copying back to x, but is nowhere near
> optimal so I wonder if it can be done with an Eigen function or in a
> better/faster way?
I doubt that. :(


-- 
Rohit Garg

http://rpg-314.blogspot.com/

Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/