epfl-archive/cs440-acg/ext/eigen/doc/snippets/MatrixBase_adjoint.cpp

4 lines
169 B
C++
Raw Normal View History

2022-04-07 18:46:57 +02:00
Matrix2cf m = Matrix2cf::Random();
cout << "Here is the 2x2 complex matrix m:" << endl << m << endl;
cout << "Here is the adjoint of m:" << endl << m.adjoint() << endl;