Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ ShiftChartData
Function
ShiftChartData
libs/map/chart_generator.cpp:95–99 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
93
}
94
95
void ShiftChartData(vector<double> & chartData, double shift)
96
{
97
for (size_t i = 0; i < chartData.size(); ++i)
98
chartData[i] += shift;
99
}
100
101
void ReflectChartData(vector<double> & chartData)
102
{
Callers
2
GenerateYAxisChartData
Function · 0.85
UNIT_TEST
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
1
UNIT_TEST
Function · 0.68