Sign in
third-party-mirror
/
eigen
/
eae6db0ca08e15a56faa194349561649dde541dd
/
.
/
doc
/
snippets
/
ComplexSchur_matrixU.cpp
blob: 81383947ebb0cafb777e48dcbf456e2d74a32cb7 [
file
] [
log
] [
blame
]
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
;