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

  1. Array44i a = Array44i::Random();
  2. cout << "Here is the array a:" << endl << a << endl;
  3. cout << "Here is a.topRows<2>():" << endl;
  4. cout << a.topRows<2>() << endl;
  5. a.topRows<2>().setZero();
  6. cout << "Now the array a is:" << endl << a << endl;