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
Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git]
/
ground
/
gcs
/
src
/
libs
/
eigen
/
doc
/
snippets
/
tut_arithmetic_transpose_inplace.cpp
blob
7a069ff233a13ae5891cc6361c54dd04b7c47394
1
MatrixXf
a
(
2
,
3
);
a
<<
1
,
2
,
3
,
4
,
5
,
6
;
2
cout
<<
"Here is the initial matrix a:
\n
"
<<
a
<<
endl
;
3
4
5
a
.
transposeInPlace
();
6
cout
<<
"and after being transposed:
\n
"
<<
a
<<
endl
;