Home | History | Annotate | Download | only in Core

Lines Matching refs:UnaryOp

21   * \param UnaryOp template functor implementing the operator
37 template<typename UnaryOp, typename XprType>
38 struct traits<CwiseUnaryOp<UnaryOp, XprType> >
42 UnaryOp(typename XprType::Scalar)
49 | (functor_traits<UnaryOp>::PacketAccess ? PacketAccessBit : 0)),
50 CoeffReadCost = _XprTypeNested::CoeffReadCost + functor_traits<UnaryOp>::Cost
55 template<typename UnaryOp, typename XprType, typename StorageKind>
58 template<typename UnaryOp, typename XprType>
60 public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>
64 typedef typename CwiseUnaryOpImpl<UnaryOp, XprType,typename internal::traits<XprType>::StorageKind>::Base Base;
67 inline CwiseUnaryOp(const XprType& xpr, const UnaryOp& func = UnaryOp())
74 const UnaryOp& functor() const { return m_functor; }
86 const UnaryOp m_functor;
91 template<typename UnaryOp, typename XprType>
92 class CwiseUnaryOpImpl<UnaryOp,XprType,Dense>
93 : public internal::dense_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type
97 typedef CwiseUnaryOp<UnaryOp, XprType> Derived;
98 typedef typename internal::dense_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type Base;