Eigen 3.4.90
doc
snippets
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;
m
MatrixXi m
Definition:
MatrixBase_replicate.cpp:1
Eigen::MatrixXi
Matrix< int, Dynamic, Dynamic > MatrixXi
Dynamic×Dynamic matrix of type int.
Definition:
Matrix.h:500