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
245 B
7 lines
245 B
4 months ago
|
Array44i a = Array44i::Random();
|
||
|
cout << "Here is the array a:" << endl << a << endl;
|
||
|
cout << "Here is a.rightCols<2>():" << endl;
|
||
|
cout << a.rightCols<2>() << endl;
|
||
|
a.rightCols<2>().setZero();
|
||
|
cout << "Now the array a is:" << endl << a << endl;
|