10 #ifndef EIGEN_SELFCWISEBINARYOP_H 11 #define EIGEN_SELFCWISEBINARYOP_H 17 template<
typename Derived>
18 EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator*=(
const Scalar& other)
20 typedef typename Derived::PlainObject PlainObject;
21 internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::mul_assign_op<Scalar,Scalar>());
25 template<
typename Derived>
26 EIGEN_STRONG_INLINE Derived& ArrayBase<Derived>::operator+=(
const Scalar& other)
28 typedef typename Derived::PlainObject PlainObject;
29 internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::add_assign_op<Scalar,Scalar>());
33 template<
typename Derived>
34 EIGEN_STRONG_INLINE Derived& ArrayBase<Derived>::operator-=(
const Scalar& other)
36 typedef typename Derived::PlainObject PlainObject;
37 internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::sub_assign_op<Scalar,Scalar>());
41 template<
typename Derived>
42 EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator/=(
const Scalar& other)
44 typedef typename Derived::PlainObject PlainObject;
45 internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::div_assign_op<Scalar,Scalar>());
51 #endif // EIGEN_SELFCWISEBINARYOP_H Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:85