title: How to check if Eigen Matrix is column major or row major?
body: <p>I need to use the underlying arrays of several eigen matrices that could be RowMajor or ColumnMajor.</p>
  
  <p>Is there any way to check which of the formats is used? (besides comparing the first column, with the first n elements of the row/column)</p>
  
  <p>I found the <a href="http://eigen.tuxfamily.org/dox/classEigen_1_1DenseBase.html">isRowMajor</a> as part of an Enum in the base class for Eigen, but I don't know how to access it from inside my code.</p>