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,4 @@
MatrixXf mat = MatrixXf::Random(2, 3);
std::cout << mat << std::endl << std::endl;
mat = (MatrixXf(2,2) << 0, 1, 1, 0).finished() * mat;
std::cout << mat << std::endl;