tut_arithmetic_transpose_conjugate.cpp 277 B

123456789101112
  1. MatrixXcf a = MatrixXcf::Random(2,2);
  2. cout << "Here is the matrix a\n" << a << endl;
  3. cout << "Here is the matrix a^T\n" << a.transpose() << endl;
  4. cout << "Here is the conjugate of a\n" << a.conjugate() << endl;
  5. cout << "Here is the matrix a^*\n" << a.adjoint() << endl;