eigen/doc/snippets/MatrixBase_adjoint.cpp

4 lines
169 B
C++
Raw Normal View History

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;