Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVelocityTracker.cpp581 float sxi = 0, sxiyi = 0, syi = 0, sxi2 = 0, sxi3 = 0, sxi2yi = 0, sxi4 = 0; in solveUnweightedLeastSquaresDeg2() local
593 sxi2 += xi2; in solveUnweightedLeastSquaresDeg2()
601 float Sxx = sxi2 - sxi*sxi / count; in solveUnweightedLeastSquaresDeg2()
603 float Sxx2 = sxi3 - sxi*sxi2 / count; in solveUnweightedLeastSquaresDeg2()
604 float Sx2y = sxi2yi - sxi2*syi / count; in solveUnweightedLeastSquaresDeg2()
605 float Sx2x2 = sxi4 - sxi2*sxi2 / count; in solveUnweightedLeastSquaresDeg2()
621 float c = syi/count - b * sxi/count - a * sxi2/count; in solveUnweightedLeastSquaresDeg2()