[eigen] question on Product.h

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

this is a question for our favorite 30-year-old:

in Product.h, in ei_gemv_selector, you have lines like:

Map<Matrix<Scalar,Dest::RowsAtCompileTime,1> >(actualDest, dest.size()) = dest;

my question is, why this type Matrix<Scalar,Dest::RowsAtCompileTime,1>?

 - couldn't we propagate the max-sizes? Or do you mean, this is only
ever called for big/dynamic sizes?
 - wouldn't it be simpler to just pass e.g. typename Dest::PlainObject ?


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/