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