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
/
Tutorial_commainit_02.cpp
blob
c960d6ab5978a3fdd61a3d9b543daa8e71b4a733
1
int
rows
=
5
,
cols
=
5
;
2
MatrixXf
m
(
rows
,
cols
);
3
m
<< (
Matrix3f
() <<
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
).
finished
(),
4
MatrixXf
::
Zero
(
3
,
cols
-
3
),
5
MatrixXf
::
Zero
(
rows
-
3
,
3
),
6
MatrixXf
::
Identity
(
rows
-
3
,
cols
-
3
);
7
cout
<<
m
;