| 322 | } |
| 323 | EIGEN_DEVICE_FUNC DenseStorage(Index, Index rows, Index cols) : m_rows(rows), m_cols(cols) {} |
| 324 | EIGEN_DEVICE_FUNC void swap(DenseStorage& other) |
| 325 | { |
| 326 | internal::plain_array_helper::swap(m_data, m_rows * m_cols, other.m_data, other.m_rows * other.m_cols); |
| 327 | numext::swap(m_rows,other.m_rows); |
| 328 | numext::swap(m_cols,other.m_cols); |
| 329 | } |
| 330 | EIGEN_DEVICE_FUNC Index rows() const {return m_rows;} |
| 331 | EIGEN_DEVICE_FUNC Index cols() const {return m_cols;} |
| 332 | EIGEN_DEVICE_FUNC void conservativeResize(Index, Index rows, Index cols) { m_rows = rows; m_cols = cols; } |
no outgoing calls
no test coverage detected