libeigen/eigen!2509 Closes #2868 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
8 lines
304 B
C++
8 lines
304 B
C++
// SPDX-FileCopyrightText: The Eigen Authors
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
MatrixXcf A = MatrixXcf::Random(4, 4);
|
|
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;
|