Home
last modified time | relevance | path

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

/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java163 float sumOfSquares = 0.0f; in getMagnitude() local
165 sumOfSquares += value * value; in getMagnitude()
167 double magnitude = Math.sqrt(sumOfSquares); in getMagnitude()