diff options
author | 2009-01-12 13:41:40 +0000 | |
---|---|---|
committer | 2009-01-12 13:41:40 +0000 | |
commit | 336ad582131f94b9e77c91c83c067dbd0c54c3fc (patch) | |
tree | 9fd3f988faf41115c646b253010e6f45660c9e57 /Eigen/src/Array | |
parent | af5034b3c0280cfa1463c870ee5be8a711a282f7 (diff) |
* move cwise *= and /= to Core (like * and /)
* tidy the StdVector module
* fix warnings (especially a | instead of ||) in stdvector test
Diffstat (limited to 'Eigen/src/Array')
-rw-r--r-- | Eigen/src/Array/CwiseOperators.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Eigen/src/Array/CwiseOperators.h b/Eigen/src/Array/CwiseOperators.h index 81e51f8d9..4b6346daa 100644 --- a/Eigen/src/Array/CwiseOperators.h +++ b/Eigen/src/Array/CwiseOperators.h @@ -418,43 +418,6 @@ inline ExpressionType& Cwise<ExpressionType>::operator+=(const Scalar& scalar) return m_matrix.const_cast_derived() = *this + scalar; } - -//============= - -/** \array_module - * - * Replaces this expression by its coefficient-wise product with \a other. - * - * Example: \include Cwise_times_equal.cpp - * Output: \verbinclude Cwise_times_equal.out - * - * \sa operator*(), operator/=() - */ -template<typename ExpressionType> -template<typename OtherDerived> -inline ExpressionType& Cwise<ExpressionType>::operator*=(const MatrixBase<OtherDerived> &other) -{ - return m_matrix.const_cast_derived() = *this * other; -} - -/** \array_module - * - * Replaces this expression by its coefficient-wise quotient with \a other. - * - * Example: \include Cwise_slash_equal.cpp - * Output: \verbinclude Cwise_slash_equal.out - * - * \sa operator/(), operator*=() - */ -template<typename ExpressionType> -template<typename OtherDerived> -inline ExpressionType& Cwise<ExpressionType>::operator/=(const MatrixBase<OtherDerived> &other) -{ - return m_matrix.const_cast_derived() = *this / other; -} - -//============= - /** \array_module * * \returns an expression of \c *this with each coeff decremented by the constant \a scalar |