Extend tutorial page 5: Advanced initialization.

This commit is contained in:
Jitse Niesen
2010-07-22 15:53:21 +01:00
parent 96ba7cd655
commit 403e672587
7 changed files with 174 additions and 13 deletions

View File

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