Re: [eigen] On the implementation of STL iterator for Eigen::Matrix

[ Thread Index | Date Index | More Archives ]



I find `for (auto x: a.rowwise()) {}` immediately intuitive, far more than any of the other suggestions. Maybe that’s because I already do a lot of rowwise()/colwise() operations?


I also find `for (auto x: A.reshape()) {}` intuitive, because I’ve written the equivalent in Matlab countless times `for x = A(:);`




Mail converted by MHonArc 2.6.19+