threed-beam-fea/ext/eigen-3.3.4/doc/snippets/MatrixBase_zero_int.cpp

3 lines
73 B
C++

cout << RowVectorXi::Zero(4) << endl;
cout << VectorXf::Zero(2) << endl;