20template<
typename OtherDerived>
21EIGEN_STRONG_INLINE
const EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived)
22cwiseProduct(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
24 return EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived)(derived(), other.derived());
39template<
typename OtherDerived>
40inline const CwiseBinaryOp<std::equal_to<Scalar>,
const Derived,
const OtherDerived>
41cwiseEqual(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
43 return CwiseBinaryOp<std::equal_to<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
58template<
typename OtherDerived>
59inline const CwiseBinaryOp<std::not_equal_to<Scalar>,
const Derived,
const OtherDerived>
60cwiseNotEqual(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
62 return CwiseBinaryOp<std::not_equal_to<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
72template<
typename OtherDerived>
73EIGEN_STRONG_INLINE
const CwiseBinaryOp<internal::scalar_min_op<Scalar>,
const Derived,
const OtherDerived>
74cwiseMin(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
76 return CwiseBinaryOp<internal::scalar_min_op<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
83EIGEN_STRONG_INLINE
const CwiseBinaryOp<internal::scalar_min_op<Scalar>,
const Derived,
const ConstantReturnType>
84cwiseMin(
const Scalar &other)
const
86 return cwiseMin(Derived::PlainObject::Constant(rows(), cols(), other));
96template<
typename OtherDerived>
97EIGEN_STRONG_INLINE
const CwiseBinaryOp<internal::scalar_max_op<Scalar>,
const Derived,
const OtherDerived>
98cwiseMax(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
100 return CwiseBinaryOp<internal::scalar_max_op<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
107EIGEN_STRONG_INLINE
const CwiseBinaryOp<internal::scalar_max_op<Scalar>,
const Derived,
const ConstantReturnType>
108cwiseMax(
const Scalar &other)
const
110 return cwiseMax(Derived::PlainObject::Constant(rows(), cols(), other));
121template<
typename OtherDerived>
122EIGEN_STRONG_INLINE
const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>,
const Derived,
const OtherDerived>
123cwiseQuotient(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
125 return CwiseBinaryOp<internal::scalar_quotient_op<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());