Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ > Class Template Reference

Public Member Functions

constexpr void conservativeResize (Index, Index, Index)
 
constexpr Tdata ()
 
constexpr const Tdata () const
 
constexpr DenseStorage ()
 
constexpr DenseStorage (const DenseStorage &)=default
 
constexpr DenseStorage (DenseStorage &&)=default
 
constexpr DenseStorage (Index size, Index rows, Index cols)
 
constexpr DenseStorage (internal::constructor_without_unaligned_array_assert)
 
constexpr DenseStorageoperator= (const DenseStorage &)=default
 
constexpr DenseStorageoperator= (DenseStorage &&)=default
 
constexpr void resize (Index, Index, Index)
 
void swap (DenseStorage &other)
 

Static Public Member Functions

static constexpr Index cols (void) EIGEN_NOEXCEPT
 
static constexpr Index rows (void) EIGEN_NOEXCEPT
 

Private Attributes

internal::plain_array< T, Size, Options_ > m_data
 

Detailed Description

template<typename T, int Size, int Rows_, int Cols_, int Options_>
class Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >

Definition at line 174 of file DenseStorage.h.

Constructor & Destructor Documentation

◆ DenseStorage() [1/5]

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::DenseStorage ( )
inlineconstexpr

Definition at line 178 of file DenseStorage.h.

178  {
180  }
#define EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN(X)
Definition: DenseStorage.h:18
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:82

◆ DenseStorage() [2/5]

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::DenseStorage ( internal::constructor_without_unaligned_array_assert  )
inlineexplicitconstexpr

Definition at line 181 of file DenseStorage.h.

182  : m_data(internal::constructor_without_unaligned_array_assert()) {}
internal::plain_array< T, Size, Options_ > m_data
Definition: DenseStorage.h:176

◆ DenseStorage() [3/5]

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::DenseStorage ( const DenseStorage< T, Size, Rows_, Cols_, Options_ > &  )
constexprdefault

◆ DenseStorage() [4/5]

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::DenseStorage ( DenseStorage< T, Size, Rows_, Cols_, Options_ > &&  )
constexprdefault

◆ DenseStorage() [5/5]

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::DenseStorage ( Index  size,
Index  rows,
Index  cols 
)
inlineconstexpr

Definition at line 194 of file DenseStorage.h.

194  {
196  eigen_internal_assert(size == rows * cols && rows == Rows_ && cols == Cols_);
200  }
#define eigen_internal_assert(x)
Definition: Macros.h:908
#define EIGEN_UNUSED_VARIABLE(var)
Definition: Macros.h:957
static constexpr Index cols(void) EIGEN_NOEXCEPT
Definition: DenseStorage.h:205
static constexpr Index rows(void) EIGEN_NOEXCEPT
Definition: DenseStorage.h:204

Member Function Documentation

◆ cols()

template<typename T , int Size, int Rows_, int Cols_, int Options_>
static constexpr Index Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::cols ( void  )
inlinestaticconstexpr

Definition at line 205 of file DenseStorage.h.

205 { return Cols_; }

◆ conservativeResize()

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr void Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::conservativeResize ( Index  ,
Index  ,
Index   
)
inlineconstexpr

Definition at line 206 of file DenseStorage.h.

206 {}

◆ data() [1/2]

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr T* Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::data ( )
inlineconstexpr

Definition at line 209 of file DenseStorage.h.

209 { return m_data.array; }

◆ data() [2/2]

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr const T* Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::data ( ) const
inlineconstexpr

Definition at line 208 of file DenseStorage.h.

208 { return m_data.array; }

◆ operator=() [1/2]

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr DenseStorage& Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::operator= ( const DenseStorage< T, Size, Rows_, Cols_, Options_ > &  )
constexprdefault

◆ operator=() [2/2]

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr DenseStorage& Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::operator= ( DenseStorage< T, Size, Rows_, Cols_, Options_ > &&  )
constexprdefault

◆ resize()

template<typename T , int Size, int Rows_, int Cols_, int Options_>
constexpr void Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::resize ( Index  ,
Index  ,
Index   
)
inlineconstexpr

Definition at line 207 of file DenseStorage.h.

207 {}

◆ rows()

template<typename T , int Size, int Rows_, int Cols_, int Options_>
static constexpr Index Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::rows ( void  )
inlinestaticconstexpr

Definition at line 204 of file DenseStorage.h.

204 { return Rows_; }

◆ swap()

template<typename T , int Size, int Rows_, int Cols_, int Options_>
void Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::swap ( DenseStorage< T, Size, Rows_, Cols_, Options_ > &  other)
inline

Definition at line 201 of file DenseStorage.h.

201  {
202  numext::swap(m_data, other.m_data);
203  }
void swap(T &a, T &b)
Definition: Meta.h:419

Member Data Documentation

◆ m_data

template<typename T , int Size, int Rows_, int Cols_, int Options_>
internal::plain_array<T,Size,Options_> Eigen::DenseStorage< T, Size, Rows_, Cols_, Options_ >::m_data
private

Definition at line 176 of file DenseStorage.h.


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