add cwise operator *= and /=.

Keir says hi!!
This commit is contained in:
Benoit Jacob
2009-01-11 20:48:56 +00:00
parent 28e15574df
commit a30b498ab4
4 changed files with 51 additions and 0 deletions

View File

@@ -128,6 +128,12 @@ template<typename ExpressionType> class Cwise
ExpressionType& operator-=(const Scalar& scalar);
template<typename OtherDerived>
inline ExpressionType& operator*=(const MatrixBase<OtherDerived> &other);
template<typename OtherDerived>
inline ExpressionType& operator/=(const MatrixBase<OtherDerived> &other);
template<typename OtherDerived> const EIGEN_CWISE_BINOP_RETURN_TYPE(std::less)
operator<(const MatrixBase<OtherDerived>& other) const;