Home
last modified time | relevance | path

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

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