Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Eigen::MatrixXdd m(5,4); //Creates a Matrix with 5 rows and 4 columns
std::cout << "Rows: " << m.rows() << ", Cols: " << m.cols() << std::endl;
//The above should print "Rows: 5, Cols: 4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.