Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVelocityTracker.cpp548 float sxi = 0, sxiyi = 0, syi = 0, sxi2 = 0, sxi3 = 0, sxi2yi = 0, sxi4 = 0; in solveUnweightedLeastSquaresDeg2() local
560 sxi2 += xi2; in solveUnweightedLeastSquaresDeg2()
568 float Sxx = sxi2 - sxi*sxi / count; in solveUnweightedLeastSquaresDeg2()
570 float Sxx2 = sxi3 - sxi*sxi2 / count; in solveUnweightedLeastSquaresDeg2()
571 float Sx2y = sxi2yi - sxi2*syi / count; in solveUnweightedLeastSquaresDeg2()
572 float Sx2x2 = sxi4 - sxi2*sxi2 / count; in solveUnweightedLeastSquaresDeg2()
588 float c = syi/count - b * sxi/count - a * sxi2/count; in solveUnweightedLeastSquaresDeg2()