10#ifndef EIGEN_SELFCWISEBINARYOP_H
11#define EIGEN_SELFCWISEBINARYOP_H
14#include "./InternalHeaderCheck.h"
20template <
typename Derived>
21EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator*=(
const Scalar& other) {
22 internal::call_assignment(this->derived(), PlainObject::Constant(rows(), cols(), other),
23 internal::mul_assign_op<Scalar, Scalar>());
27template <
typename Derived>
28EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& ArrayBase<Derived>::operator+=(
const Scalar& other) {
29 internal::call_assignment(this->derived(), PlainObject::Constant(rows(), cols(), other),
30 internal::add_assign_op<Scalar, Scalar>());
34template <
typename Derived>
35EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& ArrayBase<Derived>::operator-=(
const Scalar& other) {
36 internal::call_assignment(this->derived(), PlainObject::Constant(rows(), cols(), other),
37 internal::sub_assign_op<Scalar, Scalar>());
41template <
typename Derived>
42EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator/=(
const Scalar& other) {
43 internal::call_assignment(this->derived(), PlainObject::Constant(rows(), cols(), other),
44 internal::div_assign_op<Scalar, Scalar>());
Namespace containing all symbols from the Eigen library.
Definition Core:137