20template<
typename OtherDerived>
22EIGEN_STRONG_INLINE
const EIGEN_CWISE_BINARY_RETURN_TYPE(Derived,OtherDerived,product)
23cwiseProduct(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
25 return EIGEN_CWISE_BINARY_RETURN_TYPE(Derived,OtherDerived,product)(derived(), other.derived());
40template<
typename OtherDerived>
42inline const CwiseBinaryOp<numext::equal_to<Scalar>,
const Derived,
const OtherDerived>
43cwiseEqual(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
45 return CwiseBinaryOp<numext::equal_to<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
60template<
typename OtherDerived>
62inline const CwiseBinaryOp<numext::not_equal_to<Scalar>,
const Derived,
const OtherDerived>
63cwiseNotEqual(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
65 return CwiseBinaryOp<numext::not_equal_to<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
75template<
int NaNPropagation=PropagateFast,
typename OtherDerived>
77EIGEN_STRONG_INLINE
const CwiseBinaryOp<internal::scalar_min_op<Scalar,Scalar,NaNPropagation>,
const Derived,
const OtherDerived>
78cwiseMin(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
80 return CwiseBinaryOp<internal::scalar_min_op<Scalar,Scalar,NaNPropagation>,
const Derived,
const OtherDerived>(derived(), other.derived());
87template<
int NaNPropagation=PropagateFast>
89 EIGEN_STRONG_INLINE
const CwiseBinaryOp<internal::scalar_min_op<Scalar,Scalar,NaNPropagation>,
const Derived,
const ConstantReturnType>
90cwiseMin(
const Scalar &other)
const
92 return cwiseMin(Derived::Constant(rows(), cols(), other));
102template<
int NaNPropagation=PropagateFast,
typename OtherDerived>
104EIGEN_STRONG_INLINE
const CwiseBinaryOp<internal::scalar_max_op<Scalar,Scalar,NaNPropagation>,
const Derived,
const OtherDerived>
105cwiseMax(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
107 return CwiseBinaryOp<internal::scalar_max_op<Scalar,Scalar,NaNPropagation>,
const Derived,
const OtherDerived>(derived(), other.derived());
114template<
int NaNPropagation=PropagateFast>
116EIGEN_STRONG_INLINE
const CwiseBinaryOp<internal::scalar_max_op<Scalar,Scalar,NaNPropagation>,
const Derived,
const ConstantReturnType>
117cwiseMax(
const Scalar &other)
const
119 return cwiseMax(Derived::Constant(rows(), cols(), other));
130template<
typename OtherDerived>
132EIGEN_STRONG_INLINE
const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>,
const Derived,
const OtherDerived>
133cwiseQuotient(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
135 return CwiseBinaryOp<internal::scalar_quotient_op<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
138typedef CwiseBinaryOp<internal::scalar_cmp_op<Scalar,Scalar,internal::cmp_EQ>,
const Derived,
const ConstantReturnType> CwiseScalarEqualReturnType;
150inline const CwiseScalarEqualReturnType
151cwiseEqual(
const Scalar& s)
const
153 return CwiseScalarEqualReturnType(derived(), Derived::Constant(rows(), cols(), s), internal::scalar_cmp_op<Scalar,Scalar,internal::cmp_EQ>());