Registered Member
|
I was wondering how to deallocate the memory used in Eigen. For example if I create the following matrix:
MatrixXd test = MatrixXd(1000,1000); How would I free the memory allocated to test? Thanks! |
Moderator
|
The memory will be automatically freed when "test" will be deleted, e.g.:
You can also call test.resize(0,0); |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]