Searched refs:sumxx (Results 1 – 1 of 1) sorted by relevance
444 zsl_real_t sumx, sumy, sumxy, sumxx, sumyy; in zsl_sta_linear_reg() local446 sumx = sumy = sumxy = sumxx = sumyy = 0.0; in zsl_sta_linear_reg()452 sumxx += x->data[i] * x->data[i]; in zsl_sta_linear_reg()456 c->slope = (x->sz * sumxy - sumx * sumy) / (x->sz * sumxx - sumx * sumx); in zsl_sta_linear_reg()459 ZSL_SQRT((x->sz * sumxx - sumx * sumx) * in zsl_sta_linear_reg()