Searched refs:variance (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/media/libcpustats/
H A DCentralTendencyStatistics.cpp52 double CentralTendencyStatistics::variance() const function in class:CentralTendencyStatistics
54 double variance; local
58 variance = mM2 / (mN - 1);
60 variance = NAN;
62 mVariance = variance;
65 variance = mVariance;
67 return variance;
74 stddev = sqrt(variance());
/frameworks/av/include/cpustats/
H A DCentralTendencyStatistics.h45 // return the variance of all samples so far
46 double variance() const;
65 // cached variance, and n at time of caching
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DGEOLocationElement.java275 * Convert an absolute variance value into absolute resolution representation,
276 * where the variance = 2^resolution.
278 * @param variance The absolute variance
281 private static int getResolution(double variance) { argument
282 return (int) Math.ceil(Math.log(variance) * LOG2_FACTOR);

Completed in 697 milliseconds