add a Transposition section in page 2

This commit is contained in:
Gael Guennebaud
2010-06-28 00:05:11 +02:00
parent ca29620e25
commit de1220aa62
8 changed files with 63 additions and 16 deletions

View File

@@ -0,0 +1,4 @@
MatrixXf a(2,3); a << 1, 2, 3, 4, 5, 6;
cout << "Here is the initial matrix a:\n" << a << endl;
a.transposeInPlace();
cout << "and after being transposed:\n" << a << endl;