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

3 lines
71 B
C++

cout << Matrix2d::Zero() << endl;
cout << RowVector4i::Zero() << endl;