* improved product performance:

- fallback to normal product for small dynamic matrices
 - overloaded "c += (a * b).lazy()" to avoid the expensive and useless temporary and setZero()
   in such very common cases.
* fix a couple of issues with the flags
This commit is contained in:
Gael Guennebaud
2008-05-22 14:51:25 +00:00
parent 106a0c1bef
commit 94e1629a1b
5 changed files with 77 additions and 23 deletions

View File

@@ -154,7 +154,7 @@ class ei_corrected_matrix_flags
enum { is_vectorizable
= ei_packet_traits<Scalar>::size > 1
&& (Size%ei_packet_traits<Scalar>::size==0),
_flags1 = (SuggestedFlags & ~(EvalBeforeNestingBit | EvalBeforeAssigningBit)) | Like1DArrayBit
_flags1 = (SuggestedFlags & ~(EvalBeforeNestingBit | EvalBeforeAssigningBit)) | Like1DArrayBit | DirectAccessBit
};
public: