Tutorial_commainit_01b.cpp (113B)
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;
cart-elcSource code for CART-ELC | |
| git clone git://git.laack.co/cart-elc.git | |
| Log | Files | Refs | README | LICENSE |