Lines Matching refs:m_cols
133 DenseIndex m_cols;
135 inline explicit DenseStorage() : m_rows(0), m_cols(0) {}
137 : m_data(internal::constructor_without_unaligned_array_assert()), m_rows(0), m_cols(0) {}
138 inline DenseStorage(DenseIndex, DenseIndex rows, DenseIndex cols) : m_rows(rows), m_cols(cols) {}
140 { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); std::swap(m_cols,other.m_cols); }
142 inline DenseIndex cols(void) const {return m_cols;}
143 inline void conservativeResize(DenseIndex, DenseIndex rows, DenseIndex cols) { m_rows = rows; m_cols = cols; }
144 inline void resize(DenseIndex, DenseIndex rows, DenseIndex cols) { m_rows = rows; m_cols = cols; }
172 DenseIndex m_cols;
174 inline explicit DenseStorage() : m_cols(0) {}
176 : m_data(internal::constructor_without_unaligned_array_assert()), m_cols(0) {}
177 inline DenseStorage(DenseIndex, DenseIndex, DenseIndex cols) : m_cols(cols) {}
178 inline void swap(DenseStorage& other) { std::swap(m_data,other.m_data); std::swap(m_cols,other.m_cols); }
180 inline DenseIndex cols(void) const {return m_cols;}
181 inline void conservativeResize(DenseIndex, DenseIndex, DenseIndex cols) { m_cols = cols; }
182 inline void resize(DenseIndex, DenseIndex, DenseIndex cols) { m_cols = cols; }
192 DenseIndex m_cols;
194 inline explicit DenseStorage() : m_data(0), m_rows(0), m_cols(0) {}
196 : m_data(0), m_rows(0), m_cols(0) {}
198 : m_data(internal::conditional_aligned_new_auto<T,(_Options&DontAlign)==0>(size)), m_rows(rows), m_cols(cols)
200 inline ~DenseStorage() { internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, m_rows*m_cols); }
202 { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); std::swap(m_cols,other.m_cols); }
204 inline DenseIndex cols(void) const {return m_cols;}
207 m_data = internal::conditional_aligned_realloc_new_auto<T,(_Options&DontAlign)==0>(m_data, size, m_rows*m_cols);
209 m_cols = cols;
213 if(size != m_rows*m_cols)
215 internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, m_rows*m_cols);
223 m_cols = cols;
233 DenseIndex m_cols;
235 inline explicit DenseStorage() : m_data(0), m_cols(0) {}
236 inline DenseStorage(internal::constructor_without_unaligned_array_assert) : m_data(0), m_cols(0) {}
237 inline DenseStorage(DenseIndex size, DenseIndex, DenseIndex cols) : m_data(internal::conditional_aligned_new_auto<T,(_Options&DontAlign)==0>(size)), m_cols(cols)
239 inline ~DenseStorage() { internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, _Rows*m_cols); }
240 inline void swap(DenseStorage& other) { std::swap(m_data,other.m_data); std::swap(m_cols,other.m_cols); }
242 inline DenseIndex cols(void) const {return m_cols;}
245 m_data = internal::conditional_aligned_realloc_new_auto<T,(_Options&DontAlign)==0>(m_data, size, _Rows*m_cols);
246 m_cols = cols;
250 if(size != _Rows*m_cols)
252 internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, _Rows*m_cols);
259 m_cols = cols;