You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
113 B

  1. Matrix3f m;
  2. m.row(0) << 1, 2, 3;
  3. m.block(1,0,2,2) << 4, 5, 7, 8;
  4. m.col(2).tail(2) << 6, 9;
  5. std::cout << m;