MOAB
4.9.3pre
|
Stores the data of a matrix. More...
#include <DenseStorage.h>
Public Member Functions | |
EIGEN_DEVICE_FUNC | DenseStorage () |
EIGEN_DEVICE_FUNC | DenseStorage (internal::constructor_without_unaligned_array_assert) |
EIGEN_DEVICE_FUNC | DenseStorage (const DenseStorage &other) |
EIGEN_DEVICE_FUNC DenseStorage & | operator= (const DenseStorage &other) |
EIGEN_DEVICE_FUNC | DenseStorage (Index size, Index rows, Index cols) |
EIGEN_DEVICE_FUNC void | swap (DenseStorage &other) |
EIGEN_DEVICE_FUNC void | conservativeResize (Index, Index, Index) |
EIGEN_DEVICE_FUNC void | resize (Index, Index, Index) |
EIGEN_DEVICE_FUNC const T * | data () const |
EIGEN_DEVICE_FUNC T * | data () |
Static Public Member Functions | |
static EIGEN_DEVICE_FUNC Index | rows (void) |
static EIGEN_DEVICE_FUNC Index | cols (void) |
Private Attributes | |
internal::plain_array< T, Size, _Options > | m_data |
Stores the data of a matrix.
This class stores the data of fixed-size, dynamic-size or mixed matrices in a way as compact as possible.
Definition at line 183 of file DenseStorage.h.
EIGEN_DEVICE_FUNC Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::DenseStorage | ( | ) | [inline] |
Definition at line 187 of file DenseStorage.h.
{}
EIGEN_DEVICE_FUNC Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::DenseStorage | ( | internal::constructor_without_unaligned_array_assert | ) | [inline, explicit] |
Definition at line 189 of file DenseStorage.h.
: m_data(internal::constructor_without_unaligned_array_assert()) {}
EIGEN_DEVICE_FUNC Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::DenseStorage | ( | const DenseStorage< T, Size, _Rows, _Cols, _Options > & | other | ) | [inline] |
Definition at line 192 of file DenseStorage.h.
: m_data(other.m_data) {}
EIGEN_DEVICE_FUNC Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::DenseStorage | ( | Index | size, |
Index | rows, | ||
Index | cols | ||
) | [inline] |
Definition at line 199 of file DenseStorage.h.
{ EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN eigen_internal_assert(size==rows*cols && rows==_Rows && cols==_Cols); EIGEN_UNUSED_VARIABLE(size); EIGEN_UNUSED_VARIABLE(rows); EIGEN_UNUSED_VARIABLE(cols); }
static EIGEN_DEVICE_FUNC Index Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::cols | ( | void | ) | [inline, static] |
Definition at line 208 of file DenseStorage.h.
{return _Cols;}
EIGEN_DEVICE_FUNC void Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::conservativeResize | ( | Index | , |
Index | , | ||
Index | |||
) | [inline] |
Definition at line 209 of file DenseStorage.h.
{}
EIGEN_DEVICE_FUNC const T* Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::data | ( | ) | const [inline] |
Definition at line 211 of file DenseStorage.h.
EIGEN_DEVICE_FUNC T* Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::data | ( | ) | [inline] |
Definition at line 212 of file DenseStorage.h.
EIGEN_DEVICE_FUNC DenseStorage& Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::operator= | ( | const DenseStorage< T, Size, _Rows, _Cols, _Options > & | other | ) | [inline] |
Definition at line 194 of file DenseStorage.h.
{ if (this != &other) m_data = other.m_data; return *this; }
EIGEN_DEVICE_FUNC void Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::resize | ( | Index | , |
Index | , | ||
Index | |||
) | [inline] |
Definition at line 210 of file DenseStorage.h.
{}
static EIGEN_DEVICE_FUNC Index Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::rows | ( | void | ) | [inline, static] |
Definition at line 207 of file DenseStorage.h.
{return _Rows;}
EIGEN_DEVICE_FUNC void Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::swap | ( | DenseStorage< T, Size, _Rows, _Cols, _Options > & | other | ) | [inline] |
Definition at line 206 of file DenseStorage.h.
internal::plain_array<T,Size,_Options> Eigen::DenseStorage< T, Size, _Rows, _Cols, _Options >::m_data [private] |
Definition at line 185 of file DenseStorage.h.