Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DAnglesClassifier.java94 private float sumSquares; field in AnglesClassifier.Data
111 sumSquares = secondSumSquares = 0.0f; in Data()
152 firstAngleVariance = getAnglesVariance(sumSquares, sum, count); in addPoint()
163 sumSquares += difference * difference; in addPoint()
170 public float getAnglesVariance(float sumSquares, float sum, float count) { in getAnglesVariance() argument
171 return sumSquares / count - (sum / count) * (sum / count); in getAnglesVariance()
175 float anglesVariance = getAnglesVariance(sumSquares, sum, count); in getAnglesVariance()
DSpeedAnglesClassifier.java85 private float sumSquares; field in SpeedAnglesClassifier.Data
95 sumSquares = 0.0f; in Data()
129 sumSquares += difference * difference; in addPoint()
137 return sumSquares / count - (sum / count) * (sum / count); in getAnglesVariance()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DKalmanFilterTest.java119 double sumSquares = 0.0; in testPhaseLockedLoop() local
124 sumSquares += residual[i] * residual[i]; in testPhaseLockedLoop()
128 double variance = (sumSquares - sum * sum) / (n * n); in testPhaseLockedLoop()