libeigen/eigen!2509 Closes #2868 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
8 lines
347 B
C++
8 lines
347 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, false); // false means do not compute U
|
|
cout << "The triangular matrix T is:" << endl << schurOfA.matrixT() << endl;
|