Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
c55b0172b26fcf0a0b8d5ef0b98c87128e0f6bdb
/
.
/
doc
/
snippets
/
MatrixBase_eigenvalues.cpp
blob: 039f887018ae9e2da08ad590cdbc68dce1b8f7ce [
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
;