19EIGEN_MAKE_CWISE_BINARY_OP(
operator-, difference)
27EIGEN_MAKE_CWISE_BINARY_OP(
operator+, sum)
40template <
typename CustomBinaryOp,
typename OtherDerived>
41EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
const CwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived> binaryExpr(
42 const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other,
const CustomBinaryOp& func = CustomBinaryOp())
const {
43 return CwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived>(derived(), other.derived(), func);
50EIGEN_MAKE_SCALAR_BINARY_OP(
operator*, product)
56EIGEN_MAKE_SCALAR_BINARY_OP_ONTHERIGHT(
operator/, quotient)
65template <
typename OtherDerived>
66EIGEN_DEVICE_FUNC
inline const CwiseBinaryOp<internal::scalar_boolean_and_op<Scalar>,
const Derived,
const OtherDerived>
67operator&&(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
68 return CwiseBinaryOp<internal::scalar_boolean_and_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
79template <
typename OtherDerived>
80EIGEN_DEVICE_FUNC
inline const CwiseBinaryOp<internal::scalar_boolean_or_op<Scalar>,
const Derived,
const OtherDerived>
81operator||(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
82 return CwiseBinaryOp<internal::scalar_boolean_or_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
90template <
typename OtherDerived>
91EIGEN_DEVICE_FUNC
inline const CwiseBinaryOp<internal::scalar_bitwise_and_op<Scalar>,
const Derived,
const OtherDerived>
92operator&(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
93 return CwiseBinaryOp<internal::scalar_bitwise_and_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
101template <
typename OtherDerived>
102EIGEN_DEVICE_FUNC
inline const CwiseBinaryOp<internal::scalar_bitwise_or_op<Scalar>,
const Derived,
const OtherDerived>
103operator|(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
104 return CwiseBinaryOp<internal::scalar_bitwise_or_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
111template <
typename OtherDerived>
112EIGEN_DEVICE_FUNC
inline const CwiseBinaryOp<internal::scalar_bitwise_xor_op<Scalar>,
const Derived,
const OtherDerived>
113operator^(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
114 return CwiseBinaryOp<internal::scalar_bitwise_xor_op<Scalar>,
const Derived,
const OtherDerived>(derived(),