\returns the outer size. * * \note For a vector, this returns just 1. For a matrix (non-vector), this is the major dimension * with respect to the \ref TopicStorageOrders "storage order", i.e., the number of columns for a * column-major matrix, and the number of rows for a row-major matrix. */
| 220 | * with respect to the \ref TopicStorageOrders "storage order", i.e., the number of columns for a |
| 221 | * column-major matrix, and the number of rows for a row-major matrix. */ |
| 222 | EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR |
| 223 | Index outerSize() const |
| 224 | { |
| 225 | return IsVectorAtCompileTime ? 1 |
| 226 | : int(IsRowMajor) ? this->rows() : this->cols(); |
| 227 | } |
| 228 | |
| 229 | /** \returns the inner size. |
| 230 | * |
no test coverage detected