10#ifndef EIGEN_SELFCWISEBINARYOP_H
11#define EIGEN_SELFCWISEBINARYOP_H
17template<
typename Derived>
18EIGEN_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>());
25template<
typename Derived>
26EIGEN_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>());
33template<
typename Derived>
34EIGEN_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>());
41template<
typename Derived>
42EIGEN_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>());
Namespace containing all symbols from the Eigen library.
Definition: Core:287