Home
last modified time | relevance | path

Searched refs:sxi (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
559 sxi += xi; in solveUnweightedLeastSquaresDeg2()
568 float Sxx = sxi2 - sxi*sxi / count; in solveUnweightedLeastSquaresDeg2()
569 float Sxy = sxiyi - sxi*syi / count; in solveUnweightedLeastSquaresDeg2()
570 float Sxx2 = sxi3 - sxi*sxi2 / count; in solveUnweightedLeastSquaresDeg2()
588 float c = syi/count - b * sxi/count - a * sxi2/count; in solveUnweightedLeastSquaresDeg2()