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