Sign in
eigen
/
mirror
/
c21a80be3d0506587e73f7a5796df6e83967a934
/
.
/
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
;