COSC-4P80-Assignment-2/lib/eigen-3.4.0/doc/snippets/MatrixBase_zero_int.cpp

3 lines
73 B
C++

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