91 #include <px4_platform_common/px4_config.h> 92 #include <px4_platform_common/defines.h> 93 #include <px4_platform_common/tasks.h> 94 #include <px4_platform_common/posix.h> 95 #include <px4_platform_common/time.h> 110 #define PF_DEBUG(fmt, ...) printf(fmt, ##__VA_ARGS__); 112 #define PF_DEBUG(fmt, ...) 115 template<
int _forder>
134 for (
int i = 0; i < _forder; i++) {
135 for (
int j = 0; j < _forder; j++) {
136 PF_DEBUG(
"%.10f ", (
double)IVTV(i, j));
142 for (
int i = 0; i < _forder; i++) {
145 for (
int j = 0; j < _forder; j++) {
146 res[i] += IVTV(i, j) * (double)
_VTY(j);
164 for (
int i = _forder - 1; i >= 0; i--) {
178 for (
int i = 0; i < _forder; i++) {
179 for (
int j = 0; j < _forder; j++) {
186 for (
int i = 2 * _forder - 2; i >= 0; i--) {
194 for (
int j = i - z; j >= z; j--) {
197 _VTV(row, col) += (double)temp;
#define PF_DEBUG(fmt,...)
matrix::Vector< double, _forder > _VTY
void update_VTY(double x, double y)
SquareMatrix< Type, M > I() const
void update(double x, double y)
void update_VTV(double x)
matrix::SquareMatrix< double, _forder > _VTV