5 template<
typename OtherDerived>
16 template<
typename OtherDerived>
17 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>,
const Derived,
const OtherDerived>
18 operator/(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const 20 return CwiseBinaryOp<internal::scalar_quotient_op<Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
37 const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, PlainObject> >
38 #ifdef EIGEN_PARSED_BY_DOXYGEN 43 (
const Scalar &other)
const 45 return (
min)(Derived::PlainObject::Constant(rows(), cols(), other));
62 const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, PlainObject> >
63 #ifdef EIGEN_PARSED_BY_DOXYGEN 68 (
const Scalar &other)
const 70 return (max)(Derived::PlainObject::Constant(rows(), cols(), other));
146 inline const CwiseUnaryOp<internal::scalar_add_op<Scalar>,
const Derived>
149 return CwiseUnaryOp<internal::scalar_add_op<Scalar>,
const Derived>(derived(), internal::scalar_add_op<Scalar>(scalar));
152 friend inline const CwiseUnaryOp<internal::scalar_add_op<Scalar>,
const Derived>
153 operator+(
const Scalar& scalar,
const EIGEN_CURRENT_STORAGE_BASE_CLASS<Derived>& other)
155 return other + scalar;
165 inline const CwiseUnaryOp<internal::scalar_add_op<Scalar>,
const Derived>
168 return *
this + (-scalar);
171 friend inline const CwiseUnaryOp<internal::scalar_add_op<Scalar>,
const CwiseUnaryOp<internal::scalar_opposite_op<Scalar>,
const Derived> >
172 operator-(
const Scalar& scalar,
const EIGEN_CURRENT_STORAGE_BASE_CLASS<Derived>& other)
174 return (-other) + scalar;
186 template<
typename OtherDerived>
187 inline const CwiseBinaryOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived>
188 operator&&(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const 190 EIGEN_STATIC_ASSERT((internal::is_same<bool,Scalar>::value && internal::is_same<bool,typename OtherDerived::Scalar>::value),
191 THIS_METHOD_IS_ONLY_FOR_EXPRESSIONS_OF_BOOL);
192 return CwiseBinaryOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived>(derived(),other.derived());
204 template<
typename OtherDerived>
205 inline const CwiseBinaryOp<internal::scalar_boolean_or_op, const Derived, const OtherDerived>
206 operator||(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const 208 EIGEN_STATIC_ASSERT((internal::is_same<bool,Scalar>::value && internal::is_same<bool,typename OtherDerived::Scalar>::value),
209 THIS_METHOD_IS_ONLY_FOR_EXPRESSIONS_OF_BOOL);
210 return CwiseBinaryOp<internal::scalar_boolean_or_op, const Derived, const OtherDerived>(derived(),other.derived());
friend const ScalarAddReturnType operator+(const Scalar &scalar, const Cwise &mat)
#define EIGEN_STRONG_INLINE
#define EIGEN_CURRENT_STORAGE_BASE_CLASS
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
const CwiseBinaryOp< internal::scalar_boolean_and_op, const Derived, const OtherDerived > operator&&(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
#define EIGEN_MAKE_CWISE_BINARY_OP(METHOD, FUNCTOR)
const CwiseBinaryOp< internal::scalar_boolean_or_op, const Derived, const OtherDerived > operator||(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseUnaryOp< internal::scalar_add_op< Scalar >, const Derived > operator-(const Scalar &scalar) const
EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived, OtherDerived) operator*(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_quotient_op< Scalar >, const Derived, const OtherDerived > operator/(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const