Home
last modified time | relevance | path

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

/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java101 ArrayList<Double> squaredDiffs = new ArrayList<Double>(); in getVariance() local
104 squaredDiffs.add(Math.pow(difference, 2)); in getVariance()
108 for (Double value : squaredDiffs) { in getVariance()
111 return sum / (squaredDiffs.size() - 1); in getVariance()