Sign in
third-party-mirror
/
eigen
/
2571273647cdf6673639ebe9b3aa3237c1e7a822
/
.
/
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
;