Searched refs:Sx2x2 (Results 1 – 1 of 1) sorted by relevance
637 float Sx2x2 = sxi4 - sxi2*sxi2 / count; in solveUnweightedLeastSquaresDeg2() local639 float denominator = Sxx*Sx2x2 - Sxx2*Sxx2; in solveUnweightedLeastSquaresDeg2()641 ALOGW("division by 0 when computing velocity, Sxx=%f, Sx2x2=%f, Sxx2=%f", Sxx, Sx2x2, Sxx2); in solveUnweightedLeastSquaresDeg2()645 return (Sxy * Sx2x2 - Sx2y * Sxx2) / denominator; in solveUnweightedLeastSquaresDeg2()