PX4 Firmware
PX4 Autopilot Software http://px4.io
polyfitter< _forder > Class Template Reference

#include <polyfit.hpp>

Collaboration diagram for polyfitter< _forder >:

Public Member Functions

 polyfitter ()
 
void update (double x, double y)
 
bool fit (double res[])
 

Private Member Functions

void update_VTY (double x, double y)
 
void update_VTV (double x)
 

Private Attributes

matrix::SquareMatrix< double, _forder > _VTV
 
matrix::Vector< double, _forder > _VTY
 

Detailed Description

template<int _forder>
class polyfitter< _forder >

Definition at line 116 of file polyfit.hpp.

Constructor & Destructor Documentation

◆ polyfitter()

template<int _forder>
polyfitter< _forder >::polyfitter ( )
inline

Definition at line 119 of file polyfit.hpp.

Member Function Documentation

◆ fit()

template<int _forder>
bool polyfitter< _forder >::fit ( double  res[])
inline

Definition at line 127 of file polyfit.hpp.

◆ update()

template<int _forder>
void polyfitter< _forder >::update ( double  x,
double  y 
)
inline

Definition at line 121 of file polyfit.hpp.

◆ update_VTV()

template<int _forder>
void polyfitter< _forder >::update_VTV ( double  x)
inlineprivate

Definition at line 173 of file polyfit.hpp.

Referenced by polyfitter< PolyfitOrder+1 >::update().

Here is the caller graph for this function:

◆ update_VTY()

template<int _forder>
void polyfitter< _forder >::update_VTY ( double  x,
double  y 
)
inlineprivate

Definition at line 159 of file polyfit.hpp.

Referenced by polyfitter< PolyfitOrder+1 >::update().

Here is the caller graph for this function:

Member Data Documentation

◆ _VTV

template<int _forder>
matrix::SquareMatrix<double, _forder> polyfitter< _forder >::_VTV
private

◆ _VTY

template<int _forder>
matrix::Vector<double, _forder> polyfitter< _forder >::_VTY
private

The documentation for this class was generated from the following file: