source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/doc/snippets/MatrixBase_replicate.cpp

Last change on this file was 136, checked in by ldecherf, 8 years ago

Doc

File size: 170 bytes
Line 
1MatrixXi m = MatrixXi::Random(2,3);
2cout << "Here is the matrix m:" << endl << m << endl;
3cout << "m.replicate<3,2>() = ..." << endl;
4cout << m.replicate<3,2>() << endl;
Note: See TracBrowser for help on using the repository browser.