Lines Matching refs:values
19 /* Return the median of the n values in "values".21 float getMedian(float* values, int n) {25 return values[0];27 return 0.5 * (values[0] + values[1]);30 if (values[j] < values[i-1]) {31 float tmp = values[i-1];32 values[i-1] = values[j];33 values[j] = tmp;37 return values[ind];