MatrixBase_replicate.cpp
Go to the documentation of this file.
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;
MatrixXi m
Matrix< int, Dynamic, Dynamic > MatrixXi
Dynamic×Dynamic matrix of type int.
Definition: Matrix.h:500