CMM-22 / a3

0 stars 0 forks source link

inserting and removing elements from the Eigen vectors #8

Closed samibouziri closed 2 years ago

samibouziri commented 2 years ago

Hello,

is there an easy way to add new elemets or removing existing elements for the vectors positions and velocities ?

Thanks

liyuesolo commented 2 years ago

you would be looking for eigen_vector.conservativeResize(new_size)