add operator *= between matrices, with automatic aliasing.

add tutorial in doc/ subdirectory.
This commit is contained in:
Benoit Jacob
2007-09-07 08:18:21 +00:00
parent c030e570fd
commit 61158b1922
5 changed files with 82 additions and 1 deletions

View File

@@ -206,11 +206,14 @@ class MatrixBase
MatrixBase& operator+=(const MatrixConstXpr<Content> &xpr);
template<typename Content>
MatrixBase& operator-=(const MatrixConstXpr<Content> &xpr);
template<typename Content>
MatrixBase& operator*=(const MatrixConstXpr<Content> &xpr);
template<typename Derived2>
MatrixBase& operator+=(const MatrixBase<Derived2> &other);
template<typename Derived2>
MatrixBase& operator-=(const MatrixBase<Derived2> &other);
template<typename Derived2>
MatrixBase& operator*=(const MatrixBase<Derived2> &other);
protected: