Searched refs:sum_abs (Results 1 – 2 of 2) sorted by relevance
195 double sum = 0, sum_abs = 0; in calc_node_dir() local202 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() local594 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() local665 lc[idx] = sum; rc[idx] = sum_abs; in find_surrogate_split_cat()[all …]
1443 int sum = 0, sum_abs = 0; in calc_node_dir() local1449 sum += d; sum_abs += d & 1; in calc_node_dir()1453 R = (sum_abs + sum) >> 1; in calc_node_dir()1454 L = (sum_abs - sum) >> 1; in calc_node_dir()1460 double sum = 0, sum_abs = 0; in calc_node_dir() local1467 sum += d*w; sum_abs += (d & 1)*w; in calc_node_dir()1471 R = (sum_abs + sum) * 0.5; in calc_node_dir()1472 L = (sum_abs - sum) * 0.5; in calc_node_dir()2065 int sum = 0, sum_abs = 0; in find_surrogate_split_ord() local2070 sum += d; sum_abs += d & 1; in find_surrogate_split_ord()[all …]