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_isDiagonal.cpp
blob
5b1d59977658d19981c171602ace45b7e9829c1f
1
Matrix3d m
=
10000
*
Matrix3d
::
Identity
();
2
m
(
0
,
2
) =
1
;
3
cout
<<
"Here's the matrix m:"
<<
endl
<<
m
<<
endl
;
4
cout
<<
"m.isDiagonal() returns: "
<<
m
.
isDiagonal
() <<
endl
;
5
cout
<<
"m.isDiagonal(1e-3) returns: "
<<
m
.
isDiagonal
(
1e-3
) <<
endl
;
6