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