35 template<
typename OtherDerived>
54 template<
typename OtherDerived>
55 inline const CwiseBinaryOp<std::equal_to<Scalar>,
const Derived,
const OtherDerived>
56 cwiseEqual(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
58 return CwiseBinaryOp<std::equal_to<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
73 template<
typename OtherDerived>
74 inline const CwiseBinaryOp<std::not_equal_to<Scalar>,
const Derived,
const OtherDerived>
75 cwiseNotEqual(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
77 return CwiseBinaryOp<std::not_equal_to<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
87 template<
typename OtherDerived>
88 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_min_op<Scalar>,
const Derived,
const OtherDerived>
89 cwiseMin(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
91 return CwiseBinaryOp<internal::scalar_min_op<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
98 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_min_op<Scalar>,
const Derived,
const ConstantReturnType>
101 return cwiseMin(Derived::PlainObject::Constant(rows(), cols(), other));
111 template<
typename OtherDerived>
112 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_max_op<Scalar>,
const Derived,
const OtherDerived>
113 cwiseMax(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
115 return CwiseBinaryOp<internal::scalar_max_op<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
122 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_max_op<Scalar>,
const Derived,
const ConstantReturnType>
125 return cwiseMax(Derived::PlainObject::Constant(rows(), cols(), other));
136 template<
typename OtherDerived>
137 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>,
const Derived,
const OtherDerived>
138 cwiseQuotient(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
140 return CwiseBinaryOp<internal::scalar_quotient_op<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());