You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
221 B

  1. MatrixXcf A = MatrixXcf::Random(4,4);
  2. cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl;
  3. ComplexSchur<MatrixXcf> schurOfA(A);
  4. cout << "The unitary matrix U is:" << endl << schurOfA.matrixU() << endl;