Searched refs:nums (Results 1 – 1 of 1) sorted by relevance
130 double mean(std::deque<uint32_t> nums) { in mean() argument132 for (uint32_t i : nums) { in mean()135 return sum / nums.size(); in mean()138 double standard_deviation(std::deque<uint32_t> nums) { in standard_deviation() argument140 double avg = mean(nums); in standard_deviation()141 for (uint32_t i : nums) { in standard_deviation()144 return sqrt(sum / nums.size()); in standard_deviation()