aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/MatrixBase_row.cpp
blob: 3f1d73b9efe5cd57b1df0eae1c0f6798fab71749 (plain)
1
2
3
Matrix3d m = Matrix3d::identity();
m.row(1) = Vector3d(4,5,6);
cout << m << endl;