\returns true if either the number of rows or the number of columns is equal to 1. * In other words, this function returns * \code rows()==1 || cols()==1 \endcode * \sa rows(), cols(), IsVectorAtCompileTime. */
| 171 | * \code rows()==1 || cols()==1 \endcode |
| 172 | * \sa rows(), cols(), IsVectorAtCompileTime. */ |
| 173 | inline bool isVector() const { return rows()==1 || cols()==1; } |
| 174 | /** \returns the size of the storage major dimension, |
| 175 | * i.e., the number of columns for a columns major matrix, and the number of rows otherwise */ |
| 176 | Index outerSize() const { return (int(Flags)&RowMajorBit) ? this->rows() : this->cols(); } |