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
/
MatrixBase_isOnes.cpp
blob
f82f62809c2c028cd3ef87d10450542d84259115
1
Matrix3d m
=
Matrix3d
::
Ones
();
2
m
(
0
,
2
) +=
1e-4
;
3
cout
<<
"Here's the matrix m:"
<<
endl
<<
m
<<
endl
;
4
cout
<<
"m.isOnes() returns: "
<<
m
.
isOnes
() <<
endl
;
5
cout
<<
"m.isOnes(1e-3) returns: "
<<
m
.
isOnes
(
1e-3
) <<
endl
;