Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / doc / snippets / DirectionWise_replicate.cpp
blobd92d4a3507ac5fce74c5dccfdcf7ba446725f4cd
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;