40template<
typename CustomBinaryOp,
typename OtherDerived>
43binaryExpr(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other,
const CustomBinaryOp&
func = CustomBinaryOp())
const
45 return CwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived>(derived(), other.derived(),
func);
49#ifndef EIGEN_PARSED_BY_DOXYGEN
57const CwiseBinaryOp<internal::scalar_product_op<Scalar,T>,Derived,Constant<T> >
operator*(
const T& scalar)
const;
62template<
typename T>
friend
63const CwiseBinaryOp<internal::scalar_product_op<T,Scalar>,Constant<T>,Derived>
operator*(
const T& scalar,
const StorageBaseType& expr);
68#ifndef EIGEN_PARSED_BY_DOXYGEN
76const CwiseBinaryOp<internal::scalar_quotient_op<Scalar,T>,Derived,Constant<T> >
operator/(
const T& scalar)
const;
88template<
typename OtherDerived>
90inline const CwiseBinaryOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived>
91operator&&(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
93 EIGEN_STATIC_ASSERT((internal::is_same<bool,Scalar>::value && internal::is_same<bool,typename OtherDerived::Scalar>::value),
94 THIS_METHOD_IS_ONLY_FOR_EXPRESSIONS_OF_BOOL);
95 return CwiseBinaryOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived>(derived(),other.derived());
107template<
typename OtherDerived>
109inline const CwiseBinaryOp<internal::scalar_boolean_or_op, const Derived, const OtherDerived>
110operator||(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const
112 EIGEN_STATIC_ASSERT((internal::is_same<bool,Scalar>::value && internal::is_same<bool,typename OtherDerived::Scalar>::value),
113 THIS_METHOD_IS_ONLY_FOR_EXPRESSIONS_OF_BOOL);
114 return CwiseBinaryOp<internal::scalar_boolean_or_op, const Derived, const OtherDerived>(derived(),other.derived());
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_quotient_op< Scalar, typename OtherDerived::Scalar >, const Derived, const OtherDerived > operator/(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
Definition ArrayCwiseBinaryOps.h:21
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp< CustomBinaryOp, const Derived, const OtherDerived > binaryExpr(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const
Definition CommonCwiseBinaryOps.h:43
EIGEN_DEVICE_FUNC const CwiseBinaryOp< internal::scalar_boolean_or_op, const Derived, const OtherDerived > operator||(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
Definition CommonCwiseBinaryOps.h:110
EIGEN_DEVICE_FUNC const CwiseBinaryOp< internal::scalar_boolean_and_op, const Derived, const OtherDerived > operator&&(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
Definition CommonCwiseBinaryOps.h:91
#define EIGEN_MAKE_SCALAR_BINARY_OP_ONTHERIGHT(METHOD, OPNAME)
Definition Macros.h:1362
#define EIGEN_DEVICE_FUNC
Definition Macros.h:976
#define EIGEN_MAKE_SCALAR_BINARY_OP(METHOD, OPNAME)
Definition Macros.h:1380
#define EIGEN_MAKE_CWISE_BINARY_OP(METHOD, OPNAME)
Definition Macros.h:1336
#define EIGEN_STRONG_INLINE
Definition Macros.h:917
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition StaticAssert.h:127
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator*(const bfloat16 &a, const bfloat16 &b)
Definition BFloat16.h:170
void product(const MatrixType &m)
Definition product.h:20
Definition benchGeometry.cpp:23