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
/
eigensolver_int.cpp
blob
eda8dc20b237ae5016f0539167ed7f516d9502c3
1
#include
"../Eigen/Eigenvalues"
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
EigenSolver
<
Matrix
<
SCALAR
,
Dynamic
,
Dynamic
> >
eig
(
Matrix
<
SCALAR
,
Dynamic
,
Dynamic
>::
Random
(
10
,
10
));
14
}