6 template<
typename OtherDerived>
18 template<
typename OtherDerived>
20 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_quotient_op<Scalar,typename OtherDerived::Scalar>,
const Derived,
const OtherDerived>
21 operator/(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const 23 return CwiseBinaryOp<internal::scalar_quotient_op<Scalar,typename OtherDerived::Scalar>,
const Derived,
const OtherDerived>(derived(), other.derived());
40 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_min_op<Scalar,Scalar>,
const Derived,
41 const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, PlainObject> >
42 #ifdef EIGEN_PARSED_BY_DOXYGEN 47 (
const Scalar &other)
const 49 return (
min)(Derived::PlainObject::Constant(
rows(),
cols(), other));
66 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_max_op<Scalar,Scalar>,
const Derived,
67 const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, PlainObject> >
68 #ifdef EIGEN_PARSED_BY_DOXYGEN 73 (
const Scalar &other)
const 75 return (
max)(Derived::PlainObject::Constant(
rows(),
cols(), other));
87 #ifndef EIGEN_PARSED_BY_DOXYGEN 103 const CwiseBinaryOp<internal::scalar_pow_op<Scalar,T>,Derived,Constant<T> >
pow(
const T& exponent)
const;
108 #define EIGEN_MAKE_CWISE_COMP_OP(OP, COMPARATOR) \ 109 template<typename OtherDerived> \ 110 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_cmp_op<Scalar, typename OtherDerived::Scalar, internal::cmp_ ## COMPARATOR>, const Derived, const OtherDerived> \ 111 OP(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const \ 113 return CwiseBinaryOp<internal::scalar_cmp_op<Scalar, typename OtherDerived::Scalar, internal::cmp_ ## COMPARATOR>, const Derived, const OtherDerived>(derived(), other.derived()); \ 115 typedef CwiseBinaryOp<internal::scalar_cmp_op<Scalar,Scalar, internal::cmp_ ## COMPARATOR>, const Derived, const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, PlainObject> > Cmp ## COMPARATOR ## ReturnType; \ 116 typedef CwiseBinaryOp<internal::scalar_cmp_op<Scalar,Scalar, internal::cmp_ ## COMPARATOR>, const CwiseNullaryOp<internal::scalar_constant_op<Scalar>, PlainObject>, const Derived > RCmp ## COMPARATOR ## ReturnType; \ 117 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Cmp ## COMPARATOR ## ReturnType \ 118 OP(const Scalar& s) const { \ 119 return this->OP(Derived::PlainObject::Constant(rows(), cols(), s)); \ 121 EIGEN_DEVICE_FUNC friend EIGEN_STRONG_INLINE const RCmp ## COMPARATOR ## ReturnType \ 122 OP(const Scalar& s, const Derived& d) { \ 123 return Derived::PlainObject::Constant(d.rows(), d.cols(), s).OP(d); \ 126 #define EIGEN_MAKE_CWISE_COMP_R_OP(OP, R_OP, RCOMPARATOR) \ 127 template<typename OtherDerived> \ 128 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_cmp_op<typename OtherDerived::Scalar, Scalar, internal::cmp_##RCOMPARATOR>, const OtherDerived, const Derived> \ 129 OP(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const \ 131 return CwiseBinaryOp<internal::scalar_cmp_op<typename OtherDerived::Scalar, Scalar, internal::cmp_##RCOMPARATOR>, const OtherDerived, const Derived>(other.derived(), derived()); \ 134 inline const RCmp ## RCOMPARATOR ## ReturnType \ 135 OP(const Scalar& s) const { \ 136 return Derived::PlainObject::Constant(rows(), cols(), s).R_OP(*this); \ 138 friend inline const Cmp ## RCOMPARATOR ## ReturnType \ 139 OP(const Scalar& s, const Derived& d) { \ 140 return d.R_OP(Derived::PlainObject::Constant(d.rows(), d.cols(), s)); \ 210 #undef EIGEN_MAKE_CWISE_COMP_OP 211 #undef EIGEN_MAKE_CWISE_COMP_R_OP 214 #ifndef EIGEN_PARSED_BY_DOXYGEN 227 const CwiseBinaryOp<internal::scalar_sum_op<Scalar,T>,Derived,Constant<T> >
operator+(
const T&
scalar)
const;
232 template<
typename T>
friend 233 const CwiseBinaryOp<internal::scalar_sum_op<T,Scalar>,Constant<T>,Derived>
operator+(
const T&
scalar,
const StorageBaseType& expr);
236 #ifndef EIGEN_PARSED_BY_DOXYGEN 249 const CwiseBinaryOp<internal::scalar_difference_op<Scalar,T>,Derived,Constant<T> >
operator-(
const T&
scalar)
const;
254 template<
typename T>
friend 255 const CwiseBinaryOp<internal::scalar_difference_op<T,Scalar>,Constant<T>,Derived>
operator-(
const T&
scalar,
const StorageBaseType& expr);
259 #ifndef EIGEN_PARSED_BY_DOXYGEN 267 template<
typename T>
friend 268 inline const CwiseBinaryOp<internal::scalar_quotient_op<T,Scalar>,Constant<T>,Derived>
281 template<
typename OtherDerived>
283 inline const CwiseBinaryOp<internal::scalar_boolean_xor_op, const Derived, const OtherDerived>
284 operator^(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other)
const 287 THIS_METHOD_IS_ONLY_FOR_EXPRESSIONS_OF_BOOL);
288 return CwiseBinaryOp<internal::scalar_boolean_xor_op, const Derived, const OtherDerived>(derived(),other.derived());
303 template<
typename DerivedN>
304 inline const CwiseBinaryOp<internal::scalar_polygamma_op<Scalar>,
const DerivedN,
const Derived>
305 polygamma(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<DerivedN> &
n)
const 307 return CwiseBinaryOp<internal::scalar_polygamma_op<Scalar>,
const DerivedN,
const Derived>(n.derived(), this->derived());
327 template<
typename DerivedQ>
328 inline const CwiseBinaryOp<internal::scalar_zeta_op<Scalar>,
const Derived,
const DerivedQ>
329 zeta(
const EIGEN_CURRENT_STORAGE_BASE_CLASS<DerivedQ> &
q)
const 331 return CwiseBinaryOp<internal::scalar_zeta_op<Scalar>,
const Derived,
const DerivedQ>(this->derived(), q.derived());
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const EIGEN_CWISE_BINARY_RETURN_TYPE(Derived, OtherDerived, product) operator*(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
#define EIGEN_STRONG_INLINE
EIGEN_DEVICE_FUNC const CwiseBinaryOp< internal::scalar_boolean_xor_op, const Derived, const OtherDerived > operator^(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseBinaryOp< internal::scalar_zeta_op< Scalar >, const Derived, const DerivedQ > zeta(const EIGEN_CURRENT_STORAGE_BASE_CLASS< DerivedQ > &q) 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_CURRENT_STORAGE_BASE_CLASS
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
#define EIGEN_MAKE_CWISE_COMP_R_OP(OP, R_OP, RCOMPARATOR)
internal::enable_if< !(internal::is_same< typename Derived::Scalar, ScalarExponent >::value)&&EIGEN_SCALAR_BINARY_SUPPORTED(pow, typename Derived::Scalar, ScalarExponent), const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(Derived, ScalarExponent, pow) >::type pow(const Eigen::ArrayBase< Derived > &x, const ScalarExponent &exponent)
#define EIGEN_MAKE_SCALAR_BINARY_OP_ONTHERIGHT(METHOD, OPNAME)
#define EIGEN_MAKE_SCALAR_BINARY_OP(METHOD, OPNAME)
const mpreal sum(const mpreal tab[], const unsigned long int n, int &status, mp_rnd_t mode=mpreal::get_default_rnd())
EIGEN_DEVICE_FUNC const Scalar & q
#define EIGEN_MAKE_CWISE_BINARY_OP(METHOD, OPNAME)
Jet< T, N > operator-(const Jet< T, N > &f)
const Eigen::CwiseBinaryOp< Eigen::internal::scalar_polygamma_op< typename DerivedX::Scalar >, const DerivedN, const DerivedX > polygamma(const Eigen::ArrayBase< DerivedN > &n, const Eigen::ArrayBase< DerivedX > &x)
#define EIGEN_MAKE_SCALAR_BINARY_OP_ONTHELEFT(METHOD, OPNAME)
mxArray * scalar(mxClassID classid)
Jet< T, N > const & operator+(const Jet< T, N > &f)
void product(const MatrixType &m)
#define EIGEN_MAKE_CWISE_COMP_OP(OP, COMPARATOR)