Eigen::TensorTraceOp< Dims, XprType > Class Template Reference
+ Inheritance diagram for Eigen::TensorTraceOp< Dims, XprType >:

Public Types

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

Public Member Functions

const Dims & dims () const
 
const internal::remove_all_t< typename XprType::Nested > & expression () const
 
 TensorTraceOp (const XprType &expr, const Dims &dims)
 

Protected Attributes

const Dims m_dims
 
XprType::Nested m_xpr
 

Detailed Description

template<typename Dims, typename XprType>
class Eigen::TensorTraceOp< Dims, XprType >

Definition at line 56 of file TensorTrace.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename Dims , typename XprType >
typedef XprType::CoeffReturnType Eigen::TensorTraceOp< Dims, XprType >::CoeffReturnType

Definition at line 61 of file TensorTrace.h.

◆ Index

template<typename Dims , typename XprType >
typedef Eigen::internal::traits<TensorTraceOp>::Index Eigen::TensorTraceOp< Dims, XprType >::Index

Definition at line 64 of file TensorTrace.h.

◆ Nested

template<typename Dims , typename XprType >
typedef Eigen::internal::nested<TensorTraceOp>::type Eigen::TensorTraceOp< Dims, XprType >::Nested

Definition at line 62 of file TensorTrace.h.

◆ RealScalar

template<typename Dims , typename XprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorTraceOp< Dims, XprType >::RealScalar

Definition at line 60 of file TensorTrace.h.

◆ Scalar

template<typename Dims , typename XprType >
typedef Eigen::internal::traits<TensorTraceOp>::Scalar Eigen::TensorTraceOp< Dims, XprType >::Scalar

Definition at line 59 of file TensorTrace.h.

◆ StorageKind

template<typename Dims , typename XprType >
typedef Eigen::internal::traits<TensorTraceOp>::StorageKind Eigen::TensorTraceOp< Dims, XprType >::StorageKind

Definition at line 63 of file TensorTrace.h.

Constructor & Destructor Documentation

◆ TensorTraceOp()

template<typename Dims , typename XprType >
Eigen::TensorTraceOp< Dims, XprType >::TensorTraceOp ( const XprType &  expr,
const Dims &  dims 
)
inline

Definition at line 66 of file TensorTrace.h.

67  : m_xpr(expr), m_dims(dims) {
68  }
XprType::Nested m_xpr
Definition: TensorTrace.h:77
const Dims & dims() const
Definition: TensorTrace.h:71

Member Function Documentation

◆ dims()

template<typename Dims , typename XprType >
const Dims& Eigen::TensorTraceOp< Dims, XprType >::dims ( ) const
inline

Definition at line 71 of file TensorTrace.h.

71 { return m_dims; }

◆ expression()

template<typename Dims , typename XprType >
const internal::remove_all_t<typename XprType::Nested>& Eigen::TensorTraceOp< Dims, XprType >::expression ( ) const
inline

Definition at line 74 of file TensorTrace.h.

74 { return m_xpr; }

Member Data Documentation

◆ m_dims

template<typename Dims , typename XprType >
const Dims Eigen::TensorTraceOp< Dims, XprType >::m_dims
protected

Definition at line 78 of file TensorTrace.h.

◆ m_xpr

template<typename Dims , typename XprType >
XprType::Nested Eigen::TensorTraceOp< Dims, XprType >::m_xpr
protected

Definition at line 77 of file TensorTrace.h.


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