40 template<typename CustomBinaryOp, typename OtherDerived>
42 EIGEN_STRONG_INLINE const CwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived>
45 return CwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived>(derived(), other.derived(), func);
49 #ifndef EIGEN_PARSED_BY_DOXYGEN
57 const CwiseBinaryOp<internal::scalar_product_op<Scalar,T>,Derived,Constant<T> >
operator*(
const T& scalar)
const;
62 template<
typename T>
friend
63 const CwiseBinaryOp<internal::scalar_product_op<T,Scalar>,Constant<T>,Derived>
operator*(
const T& scalar,
const StorageBaseType& expr);
68 #ifndef EIGEN_PARSED_BY_DOXYGEN
76 const CwiseBinaryOp<internal::scalar_quotient_op<Scalar,T>,Derived,Constant<T> >
operator/(
const T& scalar)
const;
86 template <
typename OtherDerived>
87 EIGEN_DEVICE_FUNC inline const CwiseBinaryOp<internal::scalar_boolean_and_op<Scalar>,
const Derived,
const OtherDerived>
88 operator&&(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
89 return CwiseBinaryOp<internal::scalar_boolean_and_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
100 template <
typename OtherDerived>
101 EIGEN_DEVICE_FUNC inline const CwiseBinaryOp<internal::scalar_boolean_or_op<Scalar>,
const Derived,
const OtherDerived>
102 operator||(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
103 return CwiseBinaryOp<internal::scalar_boolean_or_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
111 template <
typename OtherDerived>
112 EIGEN_DEVICE_FUNC inline const CwiseBinaryOp<internal::scalar_bitwise_and_op<Scalar>,
const Derived,
const OtherDerived>
113 operator&(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
114 return CwiseBinaryOp<internal::scalar_bitwise_and_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
122 template <
typename OtherDerived>
123 EIGEN_DEVICE_FUNC inline const CwiseBinaryOp<internal::scalar_bitwise_or_op<Scalar>,
const Derived,
const OtherDerived>
124 operator|(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
125 return CwiseBinaryOp<internal::scalar_bitwise_or_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
132 template <
typename OtherDerived>
133 EIGEN_DEVICE_FUNC inline const CwiseBinaryOp<internal::scalar_bitwise_xor_op<Scalar>,
const Derived,
const OtherDerived>
134 operator^(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived>& other)
const {
135 return CwiseBinaryOp<internal::scalar_bitwise_xor_op<Scalar>,
const Derived,
const OtherDerived>(derived(),
#define EIGEN_CURRENT_STORAGE_BASE_CLASS
const CwiseBinaryOp< internal::scalar_boolean_or_op< Scalar >, const Derived, const OtherDerived > operator||(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseBinaryOp< internal::scalar_boolean_and_op< Scalar >, const Derived, const OtherDerived > operator&&(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseBinaryOp< internal::scalar_bitwise_xor_op< Scalar >, const Derived, const OtherDerived > operator^(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseBinaryOp< CustomBinaryOp, const Derived, const OtherDerived > binaryExpr(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const
const CwiseBinaryOp< internal::scalar_quotient_op< Scalar, T >, Derived, Constant< T > > operator/(const T &scalar) const
const CwiseBinaryOp< internal::scalar_bitwise_or_op< Scalar >, const Derived, const OtherDerived > operator|(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseBinaryOp< internal::scalar_bitwise_and_op< Scalar >, const Derived, const OtherDerived > operator&(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
#define EIGEN_MAKE_SCALAR_BINARY_OP_ONTHERIGHT(METHOD, OPNAME)
#define EIGEN_DEVICE_FUNC
#define EIGEN_MAKE_SCALAR_BINARY_OP(METHOD, OPNAME)
#define EIGEN_MAKE_CWISE_BINARY_OP(METHOD, OPNAME)