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