aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/tut_arithmetic_transpose_conjugate.cpp
blob: 88496b22d92d2cfee65114e5ca5e01cc9fe05837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
MatrixXcf a = MatrixXcf::Random(2,2);
cout << "Here is the matrix a\n" << a << endl;

cout << "Here is the matrix a^T\n" << a.transpose() << endl;


cout << "Here is the conjugate of a\n" << a.conjugate() << endl;


cout << "Here is the matrix a^*\n" << a.adjoint() << endl;