10 #ifndef EIGEN_SELFCWISEBINARYOP_H 11 #define EIGEN_SELFCWISEBINARYOP_H 14 #include "./InternalHeaderCheck.h" 18 template <
typename Derived>
19 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator*=(
const Scalar& other) {
20 using ConstantExpr =
typename internal::plain_constant_type<Derived, Scalar>::type;
21 using Op = internal::mul_assign_op<Scalar>;
22 internal::call_assignment(derived(), ConstantExpr(rows(), cols(), other), Op());
26 template <
typename Derived>
27 template <
bool Enable,
typename>
28 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator*=(
const RealScalar& other) {
33 template <
typename Derived>
34 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator/=(
const Scalar& other) {
35 using ConstantExpr =
typename internal::plain_constant_type<Derived, Scalar>::type;
36 using Op = internal::div_assign_op<Scalar>;
37 internal::call_assignment(derived(), ConstantExpr(rows(), cols(), other), Op());
41 template <
typename Derived>
42 template <
bool Enable,
typename>
43 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::operator/=(
const RealScalar& other) {
50 #endif // EIGEN_SELFCWISEBINARYOP_H Namespace containing all symbols from the Eigen library.
Definition: B01_Experimental.dox:1