2023-12-06 05:22:55 +08:00
|
|
|
MatrixXcf A = MatrixXcf::Random(4, 4);
|
2010-03-24 21:04:03 +08:00
|
|
|
cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl;
|
|
|
|
|
ComplexSchur<MatrixXcf> schurOfA(A);
|
|
|
|
|
cout << "The unitary matrix U is:" << endl << schurOfA.matrixU() << endl;
|