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