Eigen::TensorStorage< T, FixedDimensions, Options_ > Class Template Reference

Public Member Functions

Tdata ()
 
const Tdata () const
 
const FixedDimensions dimensions () const
 
DenseIndex size () const
 
 TensorStorage ()
 

Private Attributes

EIGEN_ALIGN_MAX T m_data [MinSize]
 

Static Private Attributes

static constexpr std::size_t MinSize
 
static constexpr std::size_t Size
 

Detailed Description

template<typename T, typename FixedDimensions, int Options_>
class Eigen::TensorStorage< T, FixedDimensions, Options_ >

Definition at line 41 of file TensorStorage.h.

Constructor & Destructor Documentation

◆ TensorStorage()

template<typename T , typename FixedDimensions , int Options_>
Eigen::TensorStorage< T, FixedDimensions, Options_ >::TensorStorage ( )
inline

Definition at line 52 of file TensorStorage.h.

52  {
53  }

Member Function Documentation

◆ data() [1/2]

template<typename T , typename FixedDimensions , int Options_>
T* Eigen::TensorStorage< T, FixedDimensions, Options_ >::data ( )
inline

Definition at line 56 of file TensorStorage.h.

56 { return m_data; }
EIGEN_ALIGN_MAX T m_data[MinSize]
Definition: TensorStorage.h:48

◆ data() [2/2]

template<typename T , typename FixedDimensions , int Options_>
const T* Eigen::TensorStorage< T, FixedDimensions, Options_ >::data ( ) const
inline

Definition at line 58 of file TensorStorage.h.

58 { return m_data; }

◆ dimensions()

template<typename T , typename FixedDimensions , int Options_>
const FixedDimensions Eigen::TensorStorage< T, FixedDimensions, Options_ >::dimensions ( ) const
inline

Definition at line 61 of file TensorStorage.h.

61 { return FixedDimensions(); }

◆ size()

template<typename T , typename FixedDimensions , int Options_>
DenseIndex Eigen::TensorStorage< T, FixedDimensions, Options_ >::size ( ) const
inline

Definition at line 64 of file TensorStorage.h.

64 { return Size; }
static constexpr std::size_t Size
Definition: TensorStorage.h:44

Member Data Documentation

◆ m_data

template<typename T , typename FixedDimensions , int Options_>
EIGEN_ALIGN_MAX T Eigen::TensorStorage< T, FixedDimensions, Options_ >::m_data[MinSize]
private

Definition at line 48 of file TensorStorage.h.

◆ MinSize

template<typename T , typename FixedDimensions , int Options_>
constexpr std::size_t Eigen::TensorStorage< T, FixedDimensions, Options_ >::MinSize
staticconstexprprivate

Definition at line 47 of file TensorStorage.h.

◆ Size

template<typename T , typename FixedDimensions , int Options_>
constexpr std::size_t Eigen::TensorStorage< T, FixedDimensions, Options_ >::Size
staticconstexprprivate

Definition at line 44 of file TensorStorage.h.


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