Sign in
ara-mdk
/
platform
/
external
/
eigen
/
c981c48f5bc9aefeffc0bcb0cc3934c2fae179dd
/
.
/
doc
/
snippets
/
EigenSolver_eigenvalues.cpp
blob: ed28869a08d340edb8dd558b92c9cc466600fb96 [
file
] [
log
] [
blame
]
MatrixXd
ones
=
MatrixXd
::
Ones
(
3
,
3
);
EigenSolver
<
MatrixXd
>
es
(
ones
,
false
);
cout
<<
"The eigenvalues of the 3x3 matrix of ones are:"
<<
endl
<<
es
.
eigenvalues
()
<<
endl
;