mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
make matrix multiplication do immediate evaluation; add lazyMul() for the old behaviour
some reorganization, especially in MatrixStorage start playing with loop unrolling, always_inline, and __restrict__
This commit is contained in:
@@ -49,7 +49,11 @@ template<typename MatrixType1,
|
||||
a -= b + b;
|
||||
a *= s;
|
||||
b /= s;
|
||||
if(rows1 == cols1) a *= b;
|
||||
if(rows1 == cols1)
|
||||
{
|
||||
a *= b;
|
||||
a.lazyMul(b);
|
||||
}
|
||||
|
||||
MatrixType1 d(rows1, cols1);
|
||||
MatrixType2 e(rows2, cols2);
|
||||
|
||||
Reference in New Issue
Block a user