Home
last modified time | relevance | path

Searched refs:sumxx (Results 1 – 1 of 1) sorted by relevance

/zscilib-3.4.0/src/
Dstatistics.c444 zsl_real_t sumx, sumy, sumxy, sumxx, sumyy; in zsl_sta_linear_reg() local
446 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()