11 #ifndef EIGEN_CWISE_UNARY_OP_H 12 #define EIGEN_CWISE_UNARY_OP_H 17 template<
typename UnaryOp,
typename XprType>
32 template<
typename UnaryOp,
typename XprType,
typename StorageKind>
54 template<
typename UnaryOp,
typename XprType>
66 : m_xpr(xpr), m_functor(
func) {}
75 const UnaryOp&
functor()
const {
return m_functor; }
93 template<
typename UnaryOp,
typename XprType,
typename StorageKind>
103 #endif // EIGEN_CWISE_UNARY_OP_H
#define EIGEN_GENERIC_PUBLIC_INTERFACE(Derived)
#define EIGEN_STRONG_INLINE
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const internal::remove_all< XprTypeNested >::type & nestedExpression() const
CwiseUnaryOpImpl< UnaryOp, XprType, typename internal::traits< XprType >::StorageKind >::Base Base
Namespace containing all symbols from the Eigen library.
const unsigned int RowMajorBit
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::remove_all< XprTypeNested >::type & nestedExpression()
XprType::Nested XprTypeNested
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const UnaryOp & functor() const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index cols() const
result_of< UnaryOp(const typename XprType::Scalar &) >::type Scalar
internal::generic_xpr_base< CwiseUnaryOp< UnaryOp, XprType > >::type Base
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rows() const
Generic expression where a coefficient-wise unary operator is applied to an expression.
remove_reference< XprTypeNested >::type _XprTypeNested