MCPcopy 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
95void ShiftChartData(vector<double> & chartData, double shift)
96{
97 for (size_t i = 0; i < chartData.size(); ++i)
98 chartData[i] += shift;
99}
100
101void ReflectChartData(vector<double> & chartData)
102{

Callers 2

GenerateYAxisChartDataFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.68