Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
ComplexEigenSolver_eigenvalues.cpp
blob: d3bff5199ae2b8977faa8c0a7c84fdfa86f358a7 [
file
] [
log
] [
blame
]
MatrixXcf
ones
=
MatrixXcf
::
Ones
(
3
,
3
);
ComplexEigenSolver
<
MatrixXcf
>
ces
(
ones
,
/* computeEigenvectors = */
false
);
cout
<<
"The eigenvalues of the 3x3 matrix of ones are:"
<<
endl
<<
ces
.
eigenvalues
()
<<
endl
;