![]() |
Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
|
linear least square fit for y = a + b * x More...
#include <Linear_Least_Square_Fit.h>
Public Member Functions | |
| linear_least_square_fit (void) | |
| void | add_value (const sample_type x, const sample_type y) |
| void | reset (void) |
| void | evaluate (evaluation_type &a, evaluation_type &b, evaluation_type &variance_a, evaluation_type &variance_b) const |
| void | evaluate (linear_least_square_result< evaluation_type > &r) const |
| unsigned | get_count (void) const |
| sample_type | get_mean_y (void) const |
| sample_type | get_mean_x (void) const |
linear least square fit for y = a + b * x
Definition at line 51 of file Linear_Least_Square_Fit.h.
Definition at line 54 of file Linear_Least_Square_Fit.h.
|
inline |
Definition at line 63 of file Linear_Least_Square_Fit.h.
Referenced by air_density_observer::feed_metering().
|
inline |
Definition at line 78 of file Linear_Least_Square_Fit.h.
References a, ONE, SQR, and TWO.
Referenced by linear_least_square_fit< sample_type, evaluation_type >::evaluate(), and air_density_observer::feed_metering().
|
inline |
Definition at line 98 of file Linear_Least_Square_Fit.h.
References linear_least_square_fit< sample_type, evaluation_type >::evaluate(), linear_least_square_result< sample_type >::slope, linear_least_square_result< sample_type >::variance_offset, linear_least_square_result< sample_type >::variance_slope, and linear_least_square_result< sample_type >::y_offset.
|
inline |
Definition at line 103 of file Linear_Least_Square_Fit.h.
Referenced by air_density_observer::feed_metering().
|
inline |
Definition at line 111 of file Linear_Least_Square_Fit.h.
|
inline |
Definition at line 107 of file Linear_Least_Square_Fit.h.
Referenced by air_density_observer::feed_metering().
|
inline |
Definition at line 73 of file Linear_Least_Square_Fit.h.
References ZERO.
Referenced by air_density_observer::feed_metering(), and air_density_observer::initialize().