Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType > Class Template Reference

#include <TensorBlock.h>

Classes

class  Storage
 

Public Types

typedef DSizes< IndexType, NumDims > Dimensions
 
typedef internal::TensorBlockDescriptor< NumDims, IndexType > TensorBlockDesc
 
typedef TensorMap< const Tensor< Scalar, NumDims, Layout > > XprType
 

Public Member Functions

void cleanup ()
 
const Scalardata () const
 
const XprTypeexpr () const
 
TensorBlockKind kind () const
 
 TensorMaterializedBlock (TensorBlockKind kind, const Scalar *data, const Dimensions &dimensions, bool valid_expr=true)
 

Static Public Member Functions

template<typename DataDimensions , typename TensorBlockScratch >
static EIGEN_STRONG_INLINE TensorMaterializedBlock materialize (const Scalar *data, const DataDimensions &data_dims, TensorBlockDesc &desc, TensorBlockScratch &scratch)
 
template<typename TensorBlockScratch >
static EIGEN_STRONG_INLINE Storage prepareStorage (TensorBlockDesc &desc, TensorBlockScratch &scratch, bool allow_strided_storage=false)
 

Private Attributes

const Scalarm_data
 
Dimensions m_dimensions
 
XprType m_expr
 
TensorBlockKind m_kind
 
bool m_valid_expr
 

Detailed Description

template<typename Scalar, int NumDims, int Layout, typename IndexType = Eigen::Index>
class Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >

Definition at line 656 of file TensorBlock.h.

Member Typedef Documentation

◆ Dimensions

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
typedef DSizes<IndexType, NumDims> Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::Dimensions

Definition at line 658 of file TensorBlock.h.

◆ TensorBlockDesc

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
typedef internal::TensorBlockDescriptor<NumDims, IndexType> Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::TensorBlockDesc

Definition at line 684 of file TensorBlock.h.

◆ XprType

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
typedef TensorMap<const Tensor<Scalar, NumDims, Layout> > Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::XprType

Definition at line 659 of file TensorBlock.h.

Constructor & Destructor Documentation

◆ TensorMaterializedBlock()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::TensorMaterializedBlock ( TensorBlockKind  kind,
const Scalar data,
const Dimensions dimensions,
bool  valid_expr = true 
)
inline

Definition at line 661 of file TensorBlock.h.

Member Function Documentation

◆ cleanup()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
void Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::cleanup ( )
inline

Definition at line 682 of file TensorBlock.h.

◆ data()

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

Definition at line 681 of file TensorBlock.h.

◆ expr()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
const XprType& Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::expr ( ) const
inline

Definition at line 677 of file TensorBlock.h.

◆ kind()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
TensorBlockKind Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::kind ( ) const
inline

Definition at line 673 of file TensorBlock.h.

◆ materialize()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
template<typename DataDimensions , typename TensorBlockScratch >
static EIGEN_STRONG_INLINE TensorMaterializedBlock Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::materialize ( const Scalar data,
const DataDimensions &  data_dims,
TensorBlockDesc desc,
TensorBlockScratch &  scratch 
)
inlinestatic

Definition at line 762 of file TensorBlock.h.

◆ prepareStorage()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
template<typename TensorBlockScratch >
static EIGEN_STRONG_INLINE Storage Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::prepareStorage ( TensorBlockDesc desc,
TensorBlockScratch &  scratch,
bool  allow_strided_storage = false 
)
inlinestatic

Definition at line 730 of file TensorBlock.h.

Member Data Documentation

◆ m_data

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
const Scalar* Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::m_data
private

Definition at line 824 of file TensorBlock.h.

◆ m_dimensions

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
Dimensions Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::m_dimensions
private

Definition at line 825 of file TensorBlock.h.

◆ m_expr

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
XprType Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::m_expr
private

Definition at line 826 of file TensorBlock.h.

◆ m_kind

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
TensorBlockKind Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::m_kind
private

Definition at line 823 of file TensorBlock.h.

◆ m_valid_expr

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
bool Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::m_valid_expr
private

Definition at line 827 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:47