documentation update for alpha 3

This commit is contained in:
Benoit Jacob
2008-01-13 23:17:51 +00:00
parent 6ce996f219
commit 57d7b7d97b
6 changed files with 47 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
Matrix3d m = Vector3d(1,2,3).asDiagonal();
Matrix4i m = Matrix4i::random();
cout << "Here is the matrix m:" << endl << m << endl;
cout << "Here is m.block(1, 1, 2, 1):" << endl << m.block(1, 1, 2, 1) << endl;
m.block(1, 0, 2, 1) = m.block(1, 1, 2, 1);
cout << "Here is m.block(1, 1, 2, 2):" << endl << m.block(1, 1, 2, 2) << endl;
m.block(1, 1, 2, 2).setZero();
cout << "Now the matrix m is:" << endl << m << endl;