The Replicate expression is not vectorized yet! As a result, in some cases it is faster to multiply by a vector or matrix of ones: http://forum.kde.org/viewtopic.php?f=74&t=101911&p=221305#p221305
This has been fixed a while ago.
-- GitLab Migration Automatic Message --
This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/456.