Currently the outer product impl. is optimized for:
A += v1 * v2.transpose();
making a simple:
A = v1 * v2.transpose();
significantly slower than what it could be because of the additional A.setZero() and additional adds.
Not very elegant, but it works:
date: 2013-02-25 13:31:42
summary: Fix bug 483: optimize outer-products to skip setZero and a scalar multiple when not needed.
-- 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/483.