MCPcopy Create free account
hub / github.com/comaps/comaps / ScaleChartData

Function ScaleChartData

libs/map/chart_generator.cpp:89–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87} // namespace
88
89void ScaleChartData(vector<double> & chartData, double scale)
90{
91 for (size_t i = 0; i < chartData.size(); ++i)
92 chartData[i] *= scale;
93}
94
95void ShiftChartData(vector<double> & chartData, double shift)
96{

Callers 2

GenerateYAxisChartDataFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.68