Eigen::TensorCwiseUnaryOp< UnaryOp, XprType > Class Template Reference
+ Inheritance diagram for Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >:

Public Types

typedef Scalar CoeffReturnType
 
typedef Eigen::internal::traits< TensorCwiseUnaryOp >::Index Index
 
typedef Eigen::internal::nested< TensorCwiseUnaryOp >::type Nested
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef Eigen::internal::traits< TensorCwiseUnaryOp >::Scalar Scalar
 
typedef Eigen::internal::traits< TensorCwiseUnaryOp >::StorageKind StorageKind
 

Public Member Functions

const UnaryOp & functor () const
 
const internal::remove_all_t< typename XprType::Nested > & nestedExpression () const
 
 TensorCwiseUnaryOp (const XprType &xpr, const UnaryOp &func=UnaryOp())
 

Protected Attributes

const UnaryOp m_functor
 
XprType::Nested m_xpr
 

Detailed Description

template<typename UnaryOp, typename XprType>
class Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >

Definition at line 117 of file TensorExpr.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename UnaryOp , typename XprType >
typedef Scalar Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::CoeffReturnType

Definition at line 124 of file TensorExpr.h.

◆ Index

template<typename UnaryOp , typename XprType >
typedef Eigen::internal::traits<TensorCwiseUnaryOp>::Index Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::Index

Definition at line 127 of file TensorExpr.h.

◆ Nested

template<typename UnaryOp , typename XprType >
typedef Eigen::internal::nested<TensorCwiseUnaryOp>::type Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::Nested

Definition at line 125 of file TensorExpr.h.

◆ RealScalar

template<typename UnaryOp , typename XprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::RealScalar

Definition at line 123 of file TensorExpr.h.

◆ Scalar

template<typename UnaryOp , typename XprType >
typedef Eigen::internal::traits<TensorCwiseUnaryOp>::Scalar Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::Scalar

Definition at line 122 of file TensorExpr.h.

◆ StorageKind

template<typename UnaryOp , typename XprType >
typedef Eigen::internal::traits<TensorCwiseUnaryOp>::StorageKind Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::StorageKind

Definition at line 126 of file TensorExpr.h.

Constructor & Destructor Documentation

◆ TensorCwiseUnaryOp()

template<typename UnaryOp , typename XprType >
Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::TensorCwiseUnaryOp ( const XprType &  xpr,
const UnaryOp &  func = UnaryOp() 
)
inline

Definition at line 129 of file TensorExpr.h.

130  : m_xpr(xpr), m_functor(func) {}
XprType::Nested m_xpr
Definition: TensorExpr.h:141
const UnaryOp m_functor
Definition: TensorExpr.h:142

Member Function Documentation

◆ functor()

template<typename UnaryOp , typename XprType >
const UnaryOp& Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::functor ( ) const
inline

Definition at line 133 of file TensorExpr.h.

133 { return m_functor; }

◆ nestedExpression()

template<typename UnaryOp , typename XprType >
const internal::remove_all_t<typename XprType::Nested>& Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::nestedExpression ( ) const
inline
Returns
the nested expression

Definition at line 138 of file TensorExpr.h.

138 { return m_xpr; }

Member Data Documentation

◆ m_functor

template<typename UnaryOp , typename XprType >
const UnaryOp Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::m_functor
protected

Definition at line 142 of file TensorExpr.h.

◆ m_xpr

template<typename UnaryOp , typename XprType >
XprType::Nested Eigen::TensorCwiseUnaryOp< UnaryOp, XprType >::m_xpr
protected

Definition at line 141 of file TensorExpr.h.


The documentation for this class was generated from the following file: