Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
c55b0172b26fcf0a0b8d5ef0b98c87128e0f6bdb
/
.
/
doc
/
snippets
/
ComplexSchur_matrixU.cpp
blob: ba3d9c22ec7cf31d7ec2cd24c8bd87cb16a5d20b [
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
;