Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ getEstimateY
Method
getEstimateY
libraries/Correlation/Correlation.cpp:131–136 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
129
130
131
float Correlation::getEstimateY(float x)
132
{
133
if (_count == 0) return NAN;
134
if (_needRecalculate) calculate();
135
return _a + _b * x;
136
}
137
138
139
float Correlation::getEstimateX(float y)
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64