Registered Member
|
Hi
How to resize a statically allocated matrix in eigen2? thanks suresh |
Registered Member
|
I think you are looking for the following
The size of the object is in both cases 16*16*sizeof(double) plus the size of two integers (I think it are integers in Eigen2) to store the current size. So, to have a resizable stack matrix, you have to live with the memory penalty of two additional integers (in Eigen3, two additional DenseIndex variables). Regards, Hauke |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]