|[eigen] Internal data storage model of eigen matrices|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
I have a simple questions concerning the internal data storage of matrices in Eigen 2, because I need to interact with an external library (in particular, fftw):
Is it guaranteed that the scalar base data of a matrix m is stored in consecutive memory locations, starting at m.data(), without any padding? In other words, will (m.data() + i) point to a matrix element for all i such that (0 <= i < m.size()) ?
Best regards, Sidney