Registered Member
|
Hi all,
I am trying to use some of the stl's algorithm on eigen' data structure. However the stl's algorithm are iterator based, so quickly skim through the docs and I do not see much information about iterator (especially on matrices). is eigen's data structure compatible with stl's algorithm? |
Registered Member
|
We don't provide our own STL iterators interfact yet with begin()/end(), but eigen vectors/matrices are stored sequentially in memory, no padding/spacing, so they're very easy to address by pointers, and STL algorithms accept that.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]