00001 MatrixXi m = MatrixXi::Random(2,3); 00002 cout << "Here is the matrix m:" << endl << m << endl; 00003 cout << "m.colwise().replicate<3>() = ..." << endl; 00004 cout << m.colwise().replicate<3>() << endl;