You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
236 B
7 lines
236 B
4 months ago
|
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;
|