Lines Matching defs:BinaryOp
21 * \param BinaryOp template functor implementing the operator
37 template<typename BinaryOp, typename Lhs, typename Rhs>
38 struct traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
54 BinaryOp(
79 | (functor_traits<BinaryOp>::PacketAccess && StorageOrdersAgree && SameType ? PacketAccessBit : 0)
84 CoeffReadCost = LhsCoeffReadCost + RhsCoeffReadCost + functor_traits<BinaryOp>::Cost
91 // moved to the BinaryOp functors, on a per-case basis. This would however require a change in the BinaryOp functors, as
102 template<typename BinaryOp, typename Lhs, typename Rhs, typename StorageKind>
105 template<typename BinaryOp, typename Lhs, typename Rhs>
108 BinaryOp, Lhs, Rhs,
115 BinaryOp, Lhs, Rhs,
125 EIGEN_STRONG_INLINE CwiseBinaryOp(const Lhs& aLhs, const Rhs& aRhs, const BinaryOp& func = BinaryOp())
128 EIGEN_CHECK_BINARY_COMPATIBILIY(BinaryOp,typename Lhs::Scalar,typename Rhs::Scalar);
154 const BinaryOp& functor() const { return m_functor; }
159 const BinaryOp m_functor;
162 template<typename BinaryOp, typename Lhs, typename Rhs>
163 class CwiseBinaryOpImpl<BinaryOp, Lhs, Rhs, Dense>
164 : public internal::dense_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
166 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> Derived;
169 typedef typename internal::dense_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type Base;