Lines Matching defs:sum_abs
195 double sum = 0, sum_abs = 0;
202 sum += d*w; sum_abs += (d & 1)*w;
206 R = (sum_abs + sum) * 0.5;
207 L = (sum_abs - sum) * 0.5;
586 double sum = 0, sum_abs = 0;
594 sum += d*w; sum_abs += (d & 1)*w;
597 // sum_abs = R + L; sum = R - L
598 RR = (sum_abs + sum)*0.5;
599 LR = (sum_abs - sum)*0.5;
664 double sum_abs = rc[idx] + (d & 1)*w;
665 lc[idx] = sum; rc[idx] = sum_abs;
671 double sum_abs = rc[i];
672 lc[i] = (sum_abs - sum) * 0.5;
673 rc[i] = (sum_abs + sum) * 0.5;