34 #ifndef __H__UG__COMMON__VARIABLE_ARRAY_H__
35 #define __H__UG__COMMON__VARIABLE_ARRAY_H__
52 template<
typename T, eMatrixOrdering T_ordering=ColMajor>
117 template<
typename _T, eMatrixOrdering _T_Ordering>
Definition: reservable_array.h:54
size_type capacity_num_cols() const
Definition: reservable_array.h:88
T * values
Definition: reservable_array.h:121
~ReservableArray2()
Definition: reservable_array_impl.h:82
bool reserve(size_type nrRows, size_type nrCols) const
Definition: reservable_array.h:91
friend std::ostream & operator<<(std::ostream &out, const ReservableArray2< _T, _T_Ordering > &arr)
@ is_static
Definition: reservable_array.h:59
ReservableArray2()
Definition: reservable_array_impl.h:49
variable_type storage_type
Definition: reservable_array.h:62
size_type rows
Definition: reservable_array.h:122
@ static_num_cols
Definition: reservable_array.h:61
size_type arraySize
Definition: reservable_array.h:124
static const eMatrixOrdering ordering
Definition: reservable_array.h:58
T value_type
Definition: reservable_array.h:56
const T & operator()(size_type r, size_type c) const
Definition: reservable_array_impl.h:226
T & at(size_type r, size_type c)
Definition: reservable_array.h:103
size_type num_rows() const
Definition: reservable_array_impl.h:92
size_type num_cols() const
Definition: reservable_array_impl.h:99
const T & at(size_type r, size_type c) const
Definition: reservable_array.h:96
@ static_num_rows
Definition: reservable_array.h:60
ReservableArray2(const VariableArray2< T, T_ordering > &other)
size_type capacity_num_rows() const
Definition: reservable_array.h:85
size_t size_type
Definition: reservable_array.h:57
size_type cols
Definition: reservable_array.h:123
bool resize(size_type newRows, size_type newCols, bool bCopyValues=true)
Definition: reservable_array_impl.h:107
Definition: variable_array.h:139
eMatrixOrdering
Definition: storage.h:47