tut_arithmetic_transpose_conjugate.cpp
Go to the documentation of this file.
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 
Matrix< std::complex< float >, Dynamic, Dynamic > MatrixXcf
Dynamic×Dynamic matrix of type std::complex<float>.
Definition: Matrix.h:503