40 template<
typename CustomBinaryOp,
typename OtherDerived>
43 binaryExpr(
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 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;
88 template<
typename OtherDerived>
90 inline const CwiseBinaryOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived>
91 operator&&(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const 94 THIS_METHOD_IS_ONLY_FOR_EXPRESSIONS_OF_BOOL);
95 return CwiseBinaryOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived>(derived(),other.derived());
107 template<
typename OtherDerived>
109 inline const CwiseBinaryOp<internal::scalar_boolean_or_op, const Derived, const OtherDerived>
110 operator||(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const 113 THIS_METHOD_IS_ONLY_FOR_EXPRESSIONS_OF_BOOL);
114 return CwiseBinaryOp<internal::scalar_boolean_or_op, const Derived, const OtherDerived>(derived(),other.derived());
#define EIGEN_STRONG_INLINE
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
operator*(const MatrixBase< Derived > &matrix, const UniformScaling< Scalar > &s)
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
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
#define EIGEN_MAKE_SCALAR_BINARY_OP_ONTHERIGHT(METHOD, OPNAME)
EIGEN_DEVICE_FUNC const CwiseBinaryOp< internal::scalar_boolean_or_op, const Derived, const OtherDerived > operator||(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
#define EIGEN_MAKE_SCALAR_BINARY_OP(METHOD, OPNAME)
EIGEN_DEVICE_FUNC const CwiseBinaryOp< internal::scalar_boolean_and_op, const Derived, const OtherDerived > operator &&(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
#define EIGEN_DEVICE_FUNC
#define EIGEN_MAKE_CWISE_BINARY_OP(METHOD, OPNAME)
mxArray * scalar(mxClassID classid)
void product(const MatrixType &m)