Eigen 3.4.90
doc
snippets
DirectionWise_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.colwise().replicate<3>() = ..."
<< endl;
4
cout <<
m
.colwise().replicate<3>() << endl;
m
MatrixXi m
Definition:
DirectionWise_replicate.cpp:1
Eigen::MatrixXi
Matrix< int, Dynamic, Dynamic > MatrixXi
Dynamic×Dynamic matrix of type int.
Definition:
Matrix.h:500