Home
last modified time | relevance | path

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

/cts/common/util/src/com/android/compatibility/common/util/
DStat.java65 double sumOfSquares = 0.0; in getStat() local
68 sumOfSquares += diff * diff; in getStat()
70 double variance = sumOfSquares / (data.length - 1); in getStat()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorCtsHelper.java147 float sumOfSquares = 0.0f; in getMagnitude() local
149 sumOfSquares += value * value; in getMagnitude()
151 double magnitude = Math.sqrt(sumOfSquares); in getMagnitude()