Searched refs:nums (Results 1 – 1 of 1) sorted by relevance
124 double mean(std::deque<uint32_t> nums) { in mean() argument126 for (uint32_t i : nums) { in mean()129 return sum / nums.size(); in mean()132 double standard_deviation(std::deque<uint32_t> nums) { in standard_deviation() argument134 double avg = mean(nums); in standard_deviation()135 for (uint32_t i : nums) { in standard_deviation()138 return sqrt(sum / nums.size()); in standard_deviation()