|
|
|
|
@@ -114,7 +114,7 @@ template<typename T, int Size, int _Rows, int _Cols, int _Options> class DenseSt
|
|
|
|
|
{
|
|
|
|
|
internal::plain_array<T,Size,_Options> m_data;
|
|
|
|
|
public:
|
|
|
|
|
inline explicit DenseStorage() {}
|
|
|
|
|
inline DenseStorage() {}
|
|
|
|
|
inline DenseStorage(internal::constructor_without_unaligned_array_assert)
|
|
|
|
|
: m_data(internal::constructor_without_unaligned_array_assert()) {}
|
|
|
|
|
inline DenseStorage(DenseIndex,DenseIndex,DenseIndex) {}
|
|
|
|
|
@@ -131,7 +131,7 @@ template<typename T, int Size, int _Rows, int _Cols, int _Options> class DenseSt
|
|
|
|
|
template<typename T, int _Rows, int _Cols, int _Options> class DenseStorage<T, 0, _Rows, _Cols, _Options>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
inline explicit DenseStorage() {}
|
|
|
|
|
inline DenseStorage() {}
|
|
|
|
|
inline DenseStorage(internal::constructor_without_unaligned_array_assert) {}
|
|
|
|
|
inline DenseStorage(DenseIndex,DenseIndex,DenseIndex) {}
|
|
|
|
|
inline void swap(DenseStorage& ) {}
|
|
|
|
|
@@ -160,7 +160,7 @@ template<typename T, int Size, int _Options> class DenseStorage<T, Size, Dynamic
|
|
|
|
|
DenseIndex m_rows;
|
|
|
|
|
DenseIndex m_cols;
|
|
|
|
|
public:
|
|
|
|
|
inline explicit DenseStorage() : m_rows(0), m_cols(0) {}
|
|
|
|
|
inline DenseStorage() : m_rows(0), m_cols(0) {}
|
|
|
|
|
inline DenseStorage(internal::constructor_without_unaligned_array_assert)
|
|
|
|
|
: m_data(internal::constructor_without_unaligned_array_assert()), m_rows(0), m_cols(0) {}
|
|
|
|
|
inline DenseStorage(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) : m_rows(nbRows), m_cols(nbCols) {}
|
|
|
|
|
@@ -180,7 +180,7 @@ template<typename T, int Size, int _Cols, int _Options> class DenseStorage<T, Si
|
|
|
|
|
internal::plain_array<T,Size,_Options> m_data;
|
|
|
|
|
DenseIndex m_rows;
|
|
|
|
|
public:
|
|
|
|
|
inline explicit DenseStorage() : m_rows(0) {}
|
|
|
|
|
inline DenseStorage() : m_rows(0) {}
|
|
|
|
|
inline DenseStorage(internal::constructor_without_unaligned_array_assert)
|
|
|
|
|
: m_data(internal::constructor_without_unaligned_array_assert()), m_rows(0) {}
|
|
|
|
|
inline DenseStorage(DenseIndex, DenseIndex nbRows, DenseIndex) : m_rows(nbRows) {}
|
|
|
|
|
@@ -199,7 +199,7 @@ template<typename T, int Size, int _Rows, int _Options> class DenseStorage<T, Si
|
|
|
|
|
internal::plain_array<T,Size,_Options> m_data;
|
|
|
|
|
DenseIndex m_cols;
|
|
|
|
|
public:
|
|
|
|
|
inline explicit DenseStorage() : m_cols(0) {}
|
|
|
|
|
inline DenseStorage() : m_cols(0) {}
|
|
|
|
|
inline DenseStorage(internal::constructor_without_unaligned_array_assert)
|
|
|
|
|
: m_data(internal::constructor_without_unaligned_array_assert()), m_cols(0) {}
|
|
|
|
|
inline DenseStorage(DenseIndex, DenseIndex, DenseIndex nbCols) : m_cols(nbCols) {}
|
|
|
|
|
@@ -219,7 +219,7 @@ template<typename T, int _Options> class DenseStorage<T, Dynamic, Dynamic, Dynam
|
|
|
|
|
DenseIndex m_rows;
|
|
|
|
|
DenseIndex m_cols;
|
|
|
|
|
public:
|
|
|
|
|
inline explicit DenseStorage() : m_data(0), m_rows(0), m_cols(0) {}
|
|
|
|
|
inline DenseStorage() : m_data(0), m_rows(0), m_cols(0) {}
|
|
|
|
|
inline DenseStorage(internal::constructor_without_unaligned_array_assert)
|
|
|
|
|
: m_data(0), m_rows(0), m_cols(0) {}
|
|
|
|
|
inline DenseStorage(DenseIndex size, DenseIndex nbRows, DenseIndex nbCols)
|
|
|
|
|
@@ -260,7 +260,7 @@ template<typename T, int _Rows, int _Options> class DenseStorage<T, Dynamic, _Ro
|
|
|
|
|
T *m_data;
|
|
|
|
|
DenseIndex m_cols;
|
|
|
|
|
public:
|
|
|
|
|
inline explicit DenseStorage() : m_data(0), m_cols(0) {}
|
|
|
|
|
inline DenseStorage() : m_data(0), m_cols(0) {}
|
|
|
|
|
inline DenseStorage(internal::constructor_without_unaligned_array_assert) : m_data(0), m_cols(0) {}
|
|
|
|
|
inline DenseStorage(DenseIndex size, DenseIndex, DenseIndex nbCols) : m_data(internal::conditional_aligned_new_auto<T,(_Options&DontAlign)==0>(size)), m_cols(nbCols)
|
|
|
|
|
{ EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN }
|
|
|
|
|
@@ -296,7 +296,7 @@ template<typename T, int _Cols, int _Options> class DenseStorage<T, Dynamic, Dyn
|
|
|
|
|
T *m_data;
|
|
|
|
|
DenseIndex m_rows;
|
|
|
|
|
public:
|
|
|
|
|
inline explicit DenseStorage() : m_data(0), m_rows(0) {}
|
|
|
|
|
inline DenseStorage() : m_data(0), m_rows(0) {}
|
|
|
|
|
inline DenseStorage(internal::constructor_without_unaligned_array_assert) : m_data(0), m_rows(0) {}
|
|
|
|
|
inline DenseStorage(DenseIndex size, DenseIndex nbRows, DenseIndex) : m_data(internal::conditional_aligned_new_auto<T,(_Options&DontAlign)==0>(size)), m_rows(nbRows)
|
|
|
|
|
{ EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN }
|
|
|
|
|
|