aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/MatrixBase_setZero.cpp
blob: 9b5b9583c2193654c656090e57987e38e0165541 (plain)
1
2
3
Matrix4i m = Matrix4i::Random();
m.row(1).setZero();
cout << m << endl;