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/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java155 float sumOfSquares = 0.0f; in getMagnitude() local
157 sumOfSquares += value * value; in getMagnitude()
159 double magnitude = Math.sqrt(sumOfSquares); in getMagnitude()