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