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 UnaryOp & functor() 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.
#define EIGEN_DEVICE_FUNC
result_of< UnaryOp(const typename XprType::Scalar &) >::type Scalar
CwiseBinaryOp< internal::scalar_sum_op< double, double >, const CpyMatrixXd, const CpyMatrixXd > XprType
internal::generic_xpr_base< CwiseUnaryOp< UnaryOp, XprType > >::type Base
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Generic expression where a coefficient-wise unary operator is applied to an expression.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const internal::remove_all< XprTypeNested >::type & nestedExpression() const
remove_reference< XprTypeNested >::type _XprTypeNested
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT