Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device > Struct Template Reference

#include <TensorTrace.h>

Public Types

enum  {
  IsAligned = false, PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess, BlockAccess = false, PreferBlockAccess = TensorEvaluator<ArgType, Device>::PreferBlockAccess,
  Layout = TensorEvaluator<ArgType, Device>::Layout, CoordAccess = false, RawAccess = false
}
 
typedef XprType::CoeffReturnType CoeffReturnType
 
typedef DSizes< Index, NumOutputDimsDimensions
 
typedef Storage::Type EvaluatorPointerType
 
typedef XprType::Index Index
 
typedef PacketType< CoeffReturnType, Device >::type PacketReturnType
 
typedef XprType::Scalar Scalar
 
typedef StorageMemory< CoeffReturnType, Device > Storage
 
typedef internal::TensorBlockNotImplemented TensorBlock
 
typedef TensorTraceOp< Dims, ArgType > XprType
 

Public Member Functions

EIGEN_STRONG_INLINE void cleanup ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff (Index index) const
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Dimensionsdimensions () const
 
EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded (EvaluatorPointerType)
 
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet (Index index) const
 
EIGEN_STRONG_INLINE TensorEvaluator (const XprType &op, const Device &device)
 

Static Public Attributes

static const int NumInputDims = internal::array_size<typename TensorEvaluator<ArgType, Device>::Dimensions>::value
 
static const int NumOutputDims = NumInputDims - NumReducedDims
 
static const int NumReducedDims = internal::array_size<Dims>::value
 
static const int PacketSize = internal::unpacket_traits<PacketReturnType>::size
 

Protected Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index firstInput (Index index) const
 

Protected Attributes

const Device EIGEN_DEVICE_REF m_device
 
Dimensions m_dimensions
 
TensorEvaluator< ArgType, Device > m_impl
 
array< Index, NumOutputDimsm_outputStrides
 
array< Index, NumOutputDimsm_preservedStrides
 
array< bool, NumInputDimsm_reduced
 
array< Index, NumReducedDimsm_reducedDims
 
array< Index, NumReducedDimsm_reducedStrides
 
Index m_traceDim
 

Detailed Description

template<typename Dims, typename ArgType, typename Device>
struct Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >

Definition at line 82 of file TensorTrace.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename Dims , typename ArgType , typename Device >
typedef XprType::CoeffReturnType Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::CoeffReturnType

Definition at line 91 of file TensorTrace.h.

◆ Dimensions

template<typename Dims , typename ArgType , typename Device >
typedef DSizes<Index, NumOutputDims> Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::Dimensions

Definition at line 89 of file TensorTrace.h.

◆ EvaluatorPointerType

template<typename Dims , typename ArgType , typename Device >
typedef Storage::Type Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::EvaluatorPointerType

Definition at line 95 of file TensorTrace.h.

◆ Index

template<typename Dims , typename ArgType , typename Device >
typedef XprType::Index Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::Index

Definition at line 88 of file TensorTrace.h.

◆ PacketReturnType

template<typename Dims , typename ArgType , typename Device >
typedef PacketType<CoeffReturnType, Device>::type Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::PacketReturnType

Definition at line 92 of file TensorTrace.h.

◆ Scalar

template<typename Dims , typename ArgType , typename Device >
typedef XprType::Scalar Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::Scalar

Definition at line 90 of file TensorTrace.h.

◆ Storage

template<typename Dims , typename ArgType , typename Device >
typedef StorageMemory<CoeffReturnType, Device> Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::Storage

Definition at line 94 of file TensorTrace.h.

◆ TensorBlock

template<typename Dims , typename ArgType , typename Device >
typedef internal::TensorBlockNotImplemented Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::TensorBlock

Definition at line 108 of file TensorTrace.h.

◆ XprType

template<typename Dims , typename ArgType , typename Device >
typedef TensorTraceOp<Dims, ArgType> Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::XprType

Definition at line 84 of file TensorTrace.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Dims , typename ArgType , typename Device >
anonymous enum
Enumerator
IsAligned 
PacketAccess 
BlockAccess 
PreferBlockAccess 
Layout 
CoordAccess 
RawAccess 

Definition at line 97 of file TensorTrace.h.

Constructor & Destructor Documentation

◆ TensorEvaluator()

template<typename Dims , typename ArgType , typename Device >
EIGEN_STRONG_INLINE Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::TensorEvaluator ( const XprType op,
const Device &  device 
)
inline

Definition at line 111 of file TensorTrace.h.

Member Function Documentation

◆ cleanup()

template<typename Dims , typename ArgType , typename Device >
EIGEN_STRONG_INLINE void Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::cleanup ( )
inline

Definition at line 219 of file TensorTrace.h.

◆ coeff()

template<typename Dims , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::coeff ( Index  index) const
inline

Definition at line 223 of file TensorTrace.h.

◆ dimensions()

template<typename Dims , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Dimensions& Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::dimensions ( ) const
inline

Definition at line 210 of file TensorTrace.h.

◆ evalSubExprsIfNeeded()

template<typename Dims , typename ArgType , typename Device >
EIGEN_STRONG_INLINE bool Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::evalSubExprsIfNeeded ( EvaluatorPointerType  )
inline

Definition at line 214 of file TensorTrace.h.

◆ firstInput()

template<typename Dims , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::firstInput ( Index  index) const
inlineprotected

Definition at line 267 of file TensorTrace.h.

◆ packet()

template<typename Dims , typename ArgType , typename Device >
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::packet ( Index  index) const
inline

Definition at line 245 of file TensorTrace.h.

Member Data Documentation

◆ m_device

template<typename Dims , typename ArgType , typename Device >
const Device EIGEN_DEVICE_REF Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::m_device
protected

Definition at line 292 of file TensorTrace.h.

◆ m_dimensions

template<typename Dims , typename ArgType , typename Device >
Dimensions Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::m_dimensions
protected

Definition at line 288 of file TensorTrace.h.

◆ m_impl

template<typename Dims , typename ArgType , typename Device >
TensorEvaluator<ArgType, Device> Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::m_impl
protected

Definition at line 289 of file TensorTrace.h.

◆ m_outputStrides

template<typename Dims , typename ArgType , typename Device >
array<Index, NumOutputDims> Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::m_outputStrides
protected

Definition at line 295 of file TensorTrace.h.

◆ m_preservedStrides

template<typename Dims , typename ArgType , typename Device >
array<Index, NumOutputDims> Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::m_preservedStrides
protected

Definition at line 297 of file TensorTrace.h.

◆ m_reduced

template<typename Dims , typename ArgType , typename Device >
array<bool, NumInputDims> Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::m_reduced
protected

Definition at line 293 of file TensorTrace.h.

◆ m_reducedDims

template<typename Dims , typename ArgType , typename Device >
array<Index, NumReducedDims> Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::m_reducedDims
protected

Definition at line 294 of file TensorTrace.h.

◆ m_reducedStrides

template<typename Dims , typename ArgType , typename Device >
array<Index, NumReducedDims> Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::m_reducedStrides
protected

Definition at line 296 of file TensorTrace.h.

◆ m_traceDim

template<typename Dims , typename ArgType , typename Device >
Index Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::m_traceDim
protected

Definition at line 291 of file TensorTrace.h.

◆ NumInputDims

template<typename Dims , typename ArgType , typename Device >
const int Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::NumInputDims = internal::array_size<typename TensorEvaluator<ArgType, Device>::Dimensions>::value
static

Definition at line 85 of file TensorTrace.h.

◆ NumOutputDims

template<typename Dims , typename ArgType , typename Device >
const int Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::NumOutputDims = NumInputDims - NumReducedDims
static

Definition at line 87 of file TensorTrace.h.

◆ NumReducedDims

template<typename Dims , typename ArgType , typename Device >
const int Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::NumReducedDims = internal::array_size<Dims>::value
static

Definition at line 86 of file TensorTrace.h.

◆ PacketSize

template<typename Dims , typename ArgType , typename Device >
const int Eigen::TensorEvaluator< const TensorTraceOp< Dims, ArgType >, Device >::PacketSize = internal::unpacket_traits<PacketReturnType>::size
static

Definition at line 93 of file TensorTrace.h.


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


gtsam
Author(s):
autogenerated on Wed May 15 2024 15:29:58