Sign in
eigen
/
mirror
/
c21a80be3d0506587e73f7a5796df6e83967a934
/
.
/
doc
/
snippets
/
ComplexEigenSolver_eigenvectors.cpp
blob: 46aab4aeb1f884782e421b4fca2ef2100e431716 [
file
] [
log
] [
blame
]
MatrixXcf
ones
=
MatrixXcf
::
Ones
(
3
,
3
);
ComplexEigenSolver
<
MatrixXcf
>
ces
(
ones
);
cout
<<
"The first eigenvector of the 3x3 matrix of ones is:"
<<
endl
<<
ces
.
eigenvectors
().
col
(
0
)
<<
endl
;