Add examples for API documentation of block methods in DenseBase.

This commit is contained in:
Jitse Niesen
2010-07-23 22:20:00 +01:00
parent 2b5a0060b4
commit 425444428c
17 changed files with 113 additions and 17 deletions

View File

@@ -0,0 +1,6 @@
Array44i a = Array44i::Random();
cout << "Here is the array a:" << endl << a << endl;
cout << "Here is a.leftCols(2):" << endl;
cout << a.leftCols(2) << endl;
a.leftCols(2).setZero();
cout << "Now the array a is:" << endl << a << endl;