repo.or.cz
/
librepilot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
LP-311 Remove basic/advanced stabilization tab auto-switch (autotune/txpid lock issues)
[librepilot.git]
/
ground
/
gcs
/
src
/
libs
/
eigen
/
doc
/
snippets
/
SelfAdjointEigenSolver_eigenvectors.cpp
blob
cfc8b0d54b73ea7984211b7e7238ddc575a4e840
1
MatrixXd ones
=
MatrixXd
::
Ones
(
3
,
3
);
2
SelfAdjointEigenSolver
<
MatrixXd
>
es
(
ones
);
3
cout
<<
"The first eigenvector of the 3x3 matrix of ones is:"
4
<<
endl
<<
es
.
eigenvectors
().
col
(
1
) <<
endl
;