Skip to content

Instantly share code, notes, and snippets.

@SIRHAMY
Created March 16, 2016 01:33
Show Gist options
  • Save SIRHAMY/577f03949a048ede0fab to your computer and use it in GitHub Desktop.
Save SIRHAMY/577f03949a048ede0fab to your computer and use it in GitHub Desktop.
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