threed-beam-fea/ext/eigen-3.2.7/doc/snippets/MatrixBase_ones.cpp

3 lines
75 B
C++

cout << Matrix2d::Ones() << endl;
cout << 6 * RowVector4i::Ones() << endl;