MatrixBase_leftCols_int.cpp revision c981c48f5bc9aefeffc0bcb0cc3934c2fae179dd
1Array44i a = Array44i::Random(); 2cout << "Here is the array a:" << endl << a << endl; 3cout << "Here is a.leftCols(2):" << endl; 4cout << a.leftCols(2) << endl; 5a.leftCols(2).setZero(); 6cout << "Now the array a is:" << endl << a << endl; 7