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
/
PartialRedux_sum.cpp
blob
ec82d3e41bcd2ccbd07e44d1996a2347f05f20fb
1
Matrix3d m
=
Matrix3d
::
Random
();
2
cout
<<
"Here is the matrix m:"
<<
endl
<<
m
<<
endl
;
3
cout
<<
"Here is the sum of each row:"
<<
endl
<<
m
.
rowwise
().
sum
() <<
endl
;