MatrixBase_row.cpp 82 B

123
  1. Matrix3d m = Matrix3d::Identity();
  2. m.row(1) = Vector3d(4,5,6);
  3. cout << m << endl;