4 lines
170 B

  1. MatrixXi m = MatrixXi::Random(2,3);
  2. cout << "Here is the matrix m:" << endl << m << endl;
  3. cout << "m.replicate<3,2>() = ..." << endl;
  4. cout << m.replicate<3,2>() << endl;