xref: /aosp_15_r20/external/eigen/doc/snippets/tut_arithmetic_transpose_conjugate.cpp (revision bf2c37156dfe67e5dfebd6d394bad8b2ab5804d4)
1 MatrixXcf a = MatrixXcf::Random(2,2);
2 cout << "Here is the matrix a\n" << a << endl;
3 
4 cout << "Here is the matrix a^T\n" << a.transpose() << endl;
5 
6 
7 cout << "Here is the conjugate of a\n" << a.conjugate() << endl;
8 
9 
10 cout << "Here is the matrix a^*\n" << a.adjoint() << endl;
11 
12 
13