Lines Matching refs:m_rows

168     DenseIndex m_rows;
171 inline DenseStorage() : m_rows(0), m_cols(0) {}
173 : m_data(internal::constructor_without_unaligned_array_assert()), m_rows(0), m_cols(0) {}
174 inline DenseStorage(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) : m_rows(nbRows), m_cols(nbCols) {}
176 { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); std::swap(m_cols,other.m_cols); }
177 inline DenseIndex rows() const {return m_rows;}
179 inline void conservativeResize(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) { m_rows = nbRows; m_cols = nbCols; }
180 inline void resize(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) { m_rows = nbRows; m_cols = nbCols; }
189 DenseIndex m_rows;
191 inline DenseStorage() : m_rows(0) {}
193 : m_data(internal::constructor_without_unaligned_array_assert()), m_rows(0) {}
194 inline DenseStorage(DenseIndex, DenseIndex nbRows, DenseIndex) : m_rows(nbRows) {}
195 inline void swap(DenseStorage& other) { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); }
196 inline DenseIndex rows(void) const {return m_rows;}
198 inline void conservativeResize(DenseIndex, DenseIndex nbRows, DenseIndex) { m_rows = nbRows; }
199 inline void resize(DenseIndex, DenseIndex nbRows, DenseIndex) { m_rows = nbRows; }
227 DenseIndex m_rows;
230 inline DenseStorage() : m_data(0), m_rows(0), m_cols(0) {}
232 : m_data(0), m_rows(0), m_cols(0) {}
234 : m_data(internal::conditional_aligned_new_auto<T,(_Options&DontAlign)==0>(size)), m_rows(nbRows), m_cols(nbCols)
236 inline ~DenseStorage() { internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, m_rows*m_cols); }
238 { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); std::swap(m_cols,other.m_cols); }
239 inline DenseIndex rows(void) const {return m_rows;}
243 m_data = internal::conditional_aligned_realloc_new_auto<T,(_Options&DontAlign)==0>(m_data, size, m_rows*m_cols);
244 m_rows = nbRows;
249 if(size != m_rows*m_cols)
251 internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, m_rows*m_cols);
258 m_rows = nbRows;
305 DenseIndex m_rows;
307 inline DenseStorage() : m_data(0), m_rows(0) {}
308 inline DenseStorage(internal::constructor_without_unaligned_array_assert) : m_data(0), m_rows(0) {}
309 inline DenseStorage(DenseIndex size, DenseIndex nbRows, DenseIndex) : m_data(internal::conditional_aligned_new_auto<T,(_Options&DontAlign)==0>(size)), m_rows(nbRows)
311 inline ~DenseStorage() { internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, _Cols*m_rows); }
312 inline void swap(DenseStorage& other) { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); }
313 inline DenseIndex rows(void) const {return m_rows;}
317 m_data = internal::conditional_aligned_realloc_new_auto<T,(_Options&DontAlign)==0>(m_data, size, m_rows*_Cols);
318 m_rows = nbRows;
322 if(size != m_rows*_Cols)
324 internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, _Cols*m_rows);
331 m_rows = nbRows;