In the eigen documentation, which is generally pretty good, I see references to a rows()
method of MatrixBase
. I am currently trying to find a way to get the number of rows in a matrix without knowing the orientation (Row/Column-major) of the matrix so it would be really convenient to simply call rows()
.
But I can't find this documented anywhere. What is this method? What does it do? Does it just return Eigen::Dynamic
for dynamic matrices, or does it know the number of rows?
Looking at the reference page for MatrixBase, I see several mentions of MatrixBase::rows()
but no link... Any ideas?