diff options
author | 2009-01-11 20:48:56 +0000 | |
---|---|---|
committer | 2009-01-11 20:48:56 +0000 | |
commit | a30b498ab449df1ab51fc389bc2d9f6334e31f84 (patch) | |
tree | 81b9618f9b4bf3c1b884dc51be176ed8e2828a6f /Eigen/src/Core/Cwise.h | |
parent | 28e15574df883e2f917d6fa0d2e099bb549ca54a (diff) |
add cwise operator *= and /=.
Keir says hi!!
Diffstat (limited to 'Eigen/src/Core/Cwise.h')
-rw-r--r-- | Eigen/src/Core/Cwise.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Eigen/src/Core/Cwise.h b/Eigen/src/Core/Cwise.h index a04fff3db..eef7ef02c 100644 --- a/Eigen/src/Core/Cwise.h +++ b/Eigen/src/Core/Cwise.h @@ -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; |