22EIGEN_MAKE_CWISE_BINARY_OP(
operator-, internal::scalar_difference_op)
30EIGEN_MAKE_CWISE_BINARY_OP(
operator+, internal::scalar_sum_op)
43template <
typename CustomBinaryOp,
typename OtherDerived>
44EIGEN_DEVICE_FUNC
constexpr EIGEN_STRONG_INLINE
const CwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived>
45binaryExpr(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other,
46 const CustomBinaryOp& func = CustomBinaryOp())
const {
47 return CwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived>(derived(), other.derived(), func);
54EIGEN_MAKE_SCALAR_BINARY_OP(
operator*, internal::scalar_product_op)
60EIGEN_MAKE_SCALAR_BINARY_OP_ONTHERIGHT(
operator/, internal::scalar_quotient_op)
69template <
typename OtherDerived>
70EIGEN_DEVICE_FUNC
constexpr inline const CwiseBinaryOp<internal::scalar_boolean_and_op<Scalar>,
const Derived,
72operator&&(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
73 return CwiseBinaryOp<internal::scalar_boolean_and_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
84template <
typename OtherDerived>
85EIGEN_DEVICE_FUNC
constexpr inline const CwiseBinaryOp<internal::scalar_boolean_or_op<Scalar>,
const Derived,
87operator||(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
88 return CwiseBinaryOp<internal::scalar_boolean_or_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
96template <
typename OtherDerived>
97EIGEN_DEVICE_FUNC
constexpr inline const CwiseBinaryOp<internal::scalar_bitwise_and_op<Scalar>,
const Derived,
99operator&(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
100 return CwiseBinaryOp<internal::scalar_bitwise_and_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
108template <
typename OtherDerived>
109EIGEN_DEVICE_FUNC
constexpr inline const CwiseBinaryOp<internal::scalar_bitwise_or_op<Scalar>,
const Derived,
111operator|(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
112 return CwiseBinaryOp<internal::scalar_bitwise_or_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
119template <
typename OtherDerived>
120EIGEN_DEVICE_FUNC
constexpr inline const CwiseBinaryOp<internal::scalar_bitwise_xor_op<Scalar>,
const Derived,
122operator^(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
123 return CwiseBinaryOp<internal::scalar_bitwise_xor_op<Scalar>,
const Derived,
const OtherDerived>(derived(),