\returns the inner size. * * \note For a vector, this is just the size. For a matrix (non-vector), this is the minor dimension * with respect to the \ref TopicStorageOrders "storage order", i.e., the number of rows for a * column-major matrix, and the number of columns for a row-major matrix. */
| 232 | * with respect to the \ref TopicStorageOrders "storage order", i.e., the number of rows for a |
| 233 | * column-major matrix, and the number of columns for a row-major matrix. */ |
| 234 | EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR |
| 235 | Index innerSize() const |
| 236 | { |
| 237 | return IsVectorAtCompileTime ? this->size() |
| 238 | : int(IsRowMajor) ? this->cols() : this->rows(); |
| 239 | } |
| 240 | |
| 241 | /** Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are |
| 242 | * Matrix::resize() and Array::resize(). The present method only asserts that the new size equals the old size, and does |
no test coverage detected