Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / doc / snippets / tut_arithmetic_transpose_inplace.cpp
blob7a069ff233a13ae5891cc6361c54dd04b7c47394
1 MatrixXf a(2,3); a << 1, 2, 3, 4, 5, 6;
2 cout << "Here is the initial matrix a:\n" << a << endl;
5 a.transposeInPlace();
6 cout << "and after being transposed:\n" << a << endl;