Eigen::TensorCwiseNullaryOp< NullaryOp, XprType > Class Template Reference
+ Inheritance diagram for Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >:

Public Types

typedef XprType::CoeffReturnType CoeffReturnType
 
typedef Eigen::internal::traits< TensorCwiseNullaryOp >::Index Index
 
typedef TensorCwiseNullaryOp< NullaryOp, XprType > Nested
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef Eigen::internal::traits< TensorCwiseNullaryOp >::Scalar Scalar
 
typedef Eigen::internal::traits< TensorCwiseNullaryOp >::StorageKind StorageKind
 

Public Member Functions

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

Protected Attributes

const NullaryOp m_functor
 
XprType::Nested m_xpr
 

Detailed Description

template<typename NullaryOp, typename XprType>
class Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >

Definition at line 54 of file TensorExpr.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename NullaryOp , typename XprType >
typedef XprType::CoeffReturnType Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >::CoeffReturnType

Definition at line 59 of file TensorExpr.h.

◆ Index

template<typename NullaryOp , typename XprType >
typedef Eigen::internal::traits<TensorCwiseNullaryOp>::Index Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >::Index

Definition at line 62 of file TensorExpr.h.

◆ Nested

template<typename NullaryOp , typename XprType >
typedef TensorCwiseNullaryOp<NullaryOp, XprType> Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >::Nested

Definition at line 60 of file TensorExpr.h.

◆ RealScalar

template<typename NullaryOp , typename XprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >::RealScalar

Definition at line 58 of file TensorExpr.h.

◆ Scalar

template<typename NullaryOp , typename XprType >
typedef Eigen::internal::traits<TensorCwiseNullaryOp>::Scalar Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >::Scalar

Definition at line 57 of file TensorExpr.h.

◆ StorageKind

template<typename NullaryOp , typename XprType >
typedef Eigen::internal::traits<TensorCwiseNullaryOp>::StorageKind Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >::StorageKind

Definition at line 61 of file TensorExpr.h.

Constructor & Destructor Documentation

◆ TensorCwiseNullaryOp()

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

Definition at line 64 of file TensorExpr.h.

65  : m_xpr(xpr), m_functor(func) {}
const NullaryOp m_functor
Definition: TensorExpr.h:76
XprType::Nested m_xpr
Definition: TensorExpr.h:75

Member Function Documentation

◆ functor()

template<typename NullaryOp , typename XprType >
const NullaryOp& Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >::functor ( ) const
inline

Definition at line 72 of file TensorExpr.h.

72 { return m_functor; }

◆ nestedExpression()

template<typename NullaryOp , typename XprType >
const internal::remove_all_t<typename XprType::Nested>& Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >::nestedExpression ( ) const
inline

Definition at line 69 of file TensorExpr.h.

69 { return m_xpr; }

Member Data Documentation

◆ m_functor

template<typename NullaryOp , typename XprType >
const NullaryOp Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >::m_functor
protected

Definition at line 76 of file TensorExpr.h.

◆ m_xpr

template<typename NullaryOp , typename XprType >
XprType::Nested Eigen::TensorCwiseNullaryOp< NullaryOp, XprType >::m_xpr
protected

Definition at line 75 of file TensorExpr.h.


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