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:
@@ -12,7 +12,7 @@ template<typename Scalar, typename Derived>
|
||||
EiScalarProduct<Derived>
|
||||
twice(const EiObject<Scalar, Derived>& m)
|
||||
{
|
||||
return static_cast<Scalar>(2) * m;
|
||||
return 2 * m;
|
||||
}
|
||||
|
||||
int main(int, char**)
|
||||
|
||||
Reference in New Issue
Block a user