|
REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
statistics.cpp File Reference
#include "utils/statistics.h"#include <cmath>
Include dependency graph for statistics.cpp:

Go to the source code of this file.
Functions | |
| std::tuple< float, float, float > | regression (const std::vector< std::pair< float, float > > &data) |
| std::tuple< float, float > | std_dev (const std::vector< float > &data) |
| float | mean_sq_error (const std::vector< float > &data, const std::vector< float > &expected) |
Function Documentation
◆ mean_sq_error()
| float mean_sq_error | ( | const std::vector< float > & | data, |
| const std::vector< float > & | expected ) |
Definition at line 66 of file statistics.cpp.
◆ regression()
| std::tuple< float, float, float > regression | ( | const std::vector< std::pair< float, float > > & | data | ) |
Definition at line 13 of file statistics.cpp.
◆ std_dev()
| std::tuple< float, float > std_dev | ( | const std::vector< float > & | data | ) |
Definition at line 51 of file statistics.cpp.