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
/
failtest
/
partialpivlu_int.cpp
blob
98ef282eadd45fa17c87f84c9a69c0f7d67eaa18
1
#include
"../Eigen/LU"
2
3
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
4
#define SCALAR int
5
#else
6
#define SCALAR float
7
#endif
8
9
using namespace
Eigen
;
10
11
int
main
()
12
{
13
PartialPivLU
<
Matrix
<
SCALAR
,
Dynamic
,
Dynamic
> >
lu
(
Matrix
<
SCALAR
,
Dynamic
,
Dynamic
>::
Random
(
10
,
10
));
14
}