Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ getEstimateX
Method
getEstimateX
libraries/Correlation/Correlation.cpp:139–144 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
137
138
139
float Correlation::getEstimateX(float y)
140
{
141
if (_count == 0) return NAN;
142
if (_needRecalculate) calculate();
143
return (y - _a) * _div_b;
144
}
145
146
147
//////////////////////////////////////////////////////
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64