Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer Class Reference

#include <TensorBlock.h>

Public Types

enum  DestinationBufferKind : int { kEmpty, kContiguous, kStrided }
 

Public Member Functions

template<typename Scalar >
Scalardata () const
 
const DestinationBufferKindkind () const
 
const Dimensionsstrides () const
 

Private Member Functions

 DestinationBuffer ()
 
template<typename Scalar >
 DestinationBuffer (Scalar *data, const Dimensions &strides, DestinationBufferKind kind)
 

Static Private Member Functions

template<int Layout>
static DestinationBufferKind kind (const TensorBlockDescriptor &desc, const Dimensions &strides)
 
template<int Layout, typename Scalar >
static DestinationBuffer make (const TensorBlockDescriptor &desc, Scalar *data, const Dimensions &strides)
 

Private Attributes

void * m_data
 
size_t m_data_type_size
 
DestinationBufferKind m_kind
 
Dimensions m_strides
 

Friends

class TensorBlockDescriptor
 

Detailed Description

template<int NumDims, typename IndexType = Eigen::Index>
class Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer

Definition at line 202 of file TensorBlock.h.

Member Enumeration Documentation

◆ DestinationBufferKind

template<int NumDims, typename IndexType = Eigen::Index>
enum Eigen::internal::TensorBlockDescriptor::DestinationBuffer::DestinationBufferKind : int
Enumerator
kEmpty 
kContiguous 
kStrided 

Definition at line 204 of file TensorBlock.h.

Constructor & Destructor Documentation

◆ DestinationBuffer() [1/2]

template<int NumDims, typename IndexType = Eigen::Index>
Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::DestinationBuffer ( )
inlineprivate

Definition at line 247 of file TensorBlock.h.

◆ DestinationBuffer() [2/2]

template<int NumDims, typename IndexType = Eigen::Index>
template<typename Scalar >
Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::DestinationBuffer ( Scalar data,
const Dimensions strides,
DestinationBufferKind  kind 
)
inlineprivate

Definition at line 250 of file TensorBlock.h.

Member Function Documentation

◆ data()

template<int NumDims, typename IndexType = Eigen::Index>
template<typename Scalar >
Scalar* Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::data ( ) const
inline

Definition at line 236 of file TensorBlock.h.

◆ kind() [1/2]

template<int NumDims, typename IndexType = Eigen::Index>
const DestinationBufferKind& Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::kind ( ) const
inline

Definition at line 242 of file TensorBlock.h.

◆ kind() [2/2]

template<int NumDims, typename IndexType = Eigen::Index>
template<int Layout>
static DestinationBufferKind Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::kind ( const TensorBlockDescriptor desc,
const Dimensions strides 
)
inlinestaticprivate

Definition at line 264 of file TensorBlock.h.

◆ make()

template<int NumDims, typename IndexType = Eigen::Index>
template<int Layout, typename Scalar >
static DestinationBuffer Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::make ( const TensorBlockDescriptor desc,
Scalar data,
const Dimensions strides 
)
inlinestaticprivate

Definition at line 258 of file TensorBlock.h.

◆ strides()

template<int NumDims, typename IndexType = Eigen::Index>
const Dimensions& Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::strides ( ) const
inline

Definition at line 241 of file TensorBlock.h.

Friends And Related Function Documentation

◆ TensorBlockDescriptor

template<int NumDims, typename IndexType = Eigen::Index>
friend class TensorBlockDescriptor
friend

Definition at line 245 of file TensorBlock.h.

Member Data Documentation

◆ m_data

template<int NumDims, typename IndexType = Eigen::Index>
void* Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::m_data
private

Definition at line 277 of file TensorBlock.h.

◆ m_data_type_size

template<int NumDims, typename IndexType = Eigen::Index>
size_t Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::m_data_type_size
private

Definition at line 278 of file TensorBlock.h.

◆ m_kind

template<int NumDims, typename IndexType = Eigen::Index>
DestinationBufferKind Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::m_kind
private

Definition at line 284 of file TensorBlock.h.

◆ m_strides

template<int NumDims, typename IndexType = Eigen::Index>
Dimensions Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer::m_strides
private

Definition at line 282 of file TensorBlock.h.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:49:32