Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
MatrixBase_eigenvalues.cpp
blob: 010f45dcdef504e443e504af7a78869171a99db7 [
file
] [
log
] [
blame
]
MatrixXd
ones
=
MatrixXd
::
Ones
(
3
,
3
);
VectorXcd
eivals
=
ones
.
eigenvalues
();
cout
<<
"The eigenvalues of the 3x3 matrix of ones are:"
<<
endl
<<
eivals
<<
endl
;