"In short: do not use the auto keywords with Eigen's expressions, unless you are 100% sure about what you are doing. In particular, do not use the auto keyword as a replacement for a Matrix<> type."
(not that either of those expressions would be equivalent to the MATLAB one anyways)
1
u/mexiKobe Aug 09 '19 edited Aug 09 '19
https://eigen.tuxfamily.org/dox/TopicPitfalls.html
"In short: do not use the auto keywords with Eigen's expressions, unless you are 100% sure about what you are doing. In particular, do not use the auto keyword as a replacement for a Matrix<> type."
(not that either of those expressions would be equivalent to the MATLAB one anyways)
as for lists, you would use cells in MATLAB: https://www.mathworks.com/help/matlab/ref/cell.html
Again, you do not know what you're talking about despite being a bloviating asshole.