#include #include using namespace Eigen; using namespace std; int main(int, char**) { cout.precision(3); MatrixXcf A = MatrixXcf::Random(4,4); cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; ComplexSchur schurOfA(A); cout << "The unitary matrix U is:" << endl << schurOfA.matrixU() << endl; return 0; }