eigen/doc/snippets/MatrixBase_identity_int_int.cpp

2 lines
42 B
C++

cout << MatrixXd::identity(4, 3) << endl;