linear_fit Class Reference
Public Member Functions | |
linear_fit () | |
void | add (const float x, const float y) |
float | slope () const |
float | offset () const |
size_t | sample_count () const |
Detailed Description
Compute the linear fit online
Constructor & Destructor Documentation
|
inline |
Constructor
Member Function Documentation
|
inline |
Add a point to the linear fit model
- Parameters
-
x x-coordinate y y-coordinate
|
inline |
Offset of the line
- Returns
- offset of the line
|
inline |
Get the current sample count
- Returns
- current sample count
|
inline |
Slope of the line
- Returns
- slope of the line
The documentation for this class was generated from the following file:
- /io/src/interop/logic/metric/dynamic_phasing_metric.cpp