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