threed-beam-fea/ext/eigen-3.2.7/doc/snippets/MatrixBase_identity_int_int...

2 lines
42 B
C++

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