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.
6 lines
239 B
6 lines
239 B
Array44i a = Array44i::Random();
|
|
cout << "Here is the array a:" << endl << a << endl;
|
|
cout << "Here is a.topRows<2>():" << endl;
|
|
cout << a.topRows<2>() << endl;
|
|
a.topRows<2>().setZero();
|
|
cout << "Now the array a is:" << endl << a << endl;
|