/frameworks/av/media/libcpustats/ |
CentralTendencyStatistics.cpp | 52 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());
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
StandardDeviation.java | 26 * is the positive square root of the variance. This implementation wraps a 27 * {@link Variance} instance. The <code>isBiasCorrected</code> property of the 28 * wrapped Variance instance is exposed, so that this class can be used to 30 * bias-corrected "sample variance") or the "population standard deviation" 31 * (the square root of the non-bias-corrected "population variance"). See 32 * {@link Variance} for more information. 47 /** Wrapped Variance instance */ 48 private Variance variance = null; field in class:StandardDeviation 51 * Constructs a StandardDeviation. Sets the underlying {@link Variance} [all...] |
Kurtosis.java | 111 double variance = moment.m2 / (moment.n - 1); local 112 if (moment.n <= 3 || variance < 10E-20) { 119 ((n - 1) * (n -2) * (n -3) * variance * variance); 171 Variance variance = new Variance(); local 172 variance.incrementAll(values, begin, length); 173 double mean = variance.moment.m1; 174 double stdDev = FastMath.sqrt(variance.getResult()) [all...] |
Skewness.java | 107 double variance = moment.m2 / (moment.n - 1); local 108 if (variance < 10E-20) { 113 ((n0 - 1) * (n0 -2) * FastMath.sqrt(variance) * variance); 172 final double variance = (accum - (accum2 * accum2 / length)) / (length - 1); local 179 accum3 /= variance * FastMath.sqrt(variance);
|
/art/runtime/base/ |
histogram_test.cc | 57 double variance; local 62 variance = hist->Variance(); 63 EXPECT_DOUBLE_EQ(64.25, variance);
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
video_sync_test.cc | 58 // Computes the standard deviation by first estimating the sample variance 66 float variance = 0; local 68 variance += (*start - mean) * (*start - mean) / (num_elements - 1); 70 return sqrt(variance);
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_blockiness.c | 23 static int variance(int sum, int sum_squared, int size) { function 45 // by dividing the blockiness by the variance of the pixels on either side 70 var_0 = variance(sum_0, sum_sq_0, size); 71 var_1 = variance(sum_1, sum_sq_1, size); 102 var_0 = variance(sum_0, sum_sq_0, size); 103 var_1 = variance(sum_1, sum_sq_1, size);
|
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
list_of_scalar_values.py | 13 def Variance(sample): 14 """ Compute the population variance. 32 return math.sqrt(Variance(sample)) 42 list_of_variances: a list of numbers, the i-th element is the variance of 44 Variance(sample) to get the variance of the i-th sample. 53 variance = list_of_variances[i] if list_of_variances else Variance(l) 54 pooled_variance += k * variance 103 def variance(self) member in class:ListOfScalarValues [all...] |
/external/deqp/modules/gles31/functional/ |
es31fSampleVariableTests.cpp | 162 const float variance = (1.0f / (12.0f * (float)m_numSamples)); local 163 const float standardDeviation = deFloatSqrt(variance); [all...] |
/cts/common/util/src/com/android/compatibility/common/util/ |
Stat.java | 70 double variance = sumOfSquares / (data.length - 1); local 71 double stddev = Math.sqrt(variance);
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
profile.rb | 84 def variance method in class:ANTLR3.Profile.DataSet 90 sqrt( variance )
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ |
StatUtils.java | 25 import org.apache.commons.math.stat.descriptive.moment.Variance; 63 /** variance */ 64 private static final Variance VARIANCE = new Variance(); 301 * Returns the variance of the entries in the input array, or 304 * See {@link org.apache.commons.math.stat.descriptive.moment.Variance} for 312 * @return the variance of the values or Double.NaN if the array is empty 315 public static double variance(final double[] values) { method in class:StatUtils 316 return VARIANCE.evaluate(values) 339 public static double variance(final double[] values, final int begin, method in class:StatUtils 370 public static double variance(final double[] values, final double mean, method in class:StatUtils 397 public static double variance(final double[] values, final double mean) { method in class:StatUtils [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/ |
Covariance.java | 24 import org.apache.commons.math.stat.descriptive.moment.Variance; 162 Variance variance = new Variance(biasCorrected); local 170 outMatrix.setEntry(i, i, variance.evaluate(matrix.getColumn(i)));
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/ |
StatisticalSummaryValues.java | 38 /** The sample variance */ 39 private final double variance; field in class:StatisticalSummaryValues 57 * @param variance the sample variance 63 public StatisticalSummaryValues(double mean, double variance, long n, 67 this.variance = variance; 113 return FastMath.sqrt(variance); 117 * @return Returns the variance. 120 return variance; [all...] |
AggregateSummaryStatistics.java | 198 * {@inheritDoc}. This version returns the variance of all the aggregated 332 final double variance; local 334 variance = Double.NaN; 336 variance = 0d; 338 variance = m2 / (n - 1); 340 return new StatisticalSummaryValues(mean, variance, n, max, min, sum);
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
StatsBenchmark.java | 28 * Benchmarks for various algorithms for computing the mean and/or variance. 75 private final double variance; field in class:StatsBenchmark.MeanAndVariance 77 MeanAndVariance(double mean, double variance) { 79 this.variance = variance; 84 return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance); 91 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { method 97 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { method 109 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { method 126 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) method 141 abstract MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm); method in class:StatsBenchmark.VarianceAlgorithm [all...] |
/external/pdfium/xfa/src/fxbarcode/oned/ |
BC_OneDReader.cpp | 178 int32_t variance = counter > scaledPattern ? counter - scaledPattern
local 180 if (variance > maxIndividualVariance) {
184 totalVariance += variance;
|
BC_OneDimReader.cpp | 206 int32_t variance = PatternMatchVariance(counters, &patterns[i * 4],
local 208 if (variance < bestVariance) {
209 bestVariance = variance;
|
/external/webrtc/webrtc/common_audio/ |
audio_converter_unittest.cc | 58 float variance = 0; local 64 variance += ref.channels()[i][j] * ref.channels()[i][j]; 71 variance /= length; 73 variance -= mean * mean; 76 snr = 10 * std::log10(variance / mse);
|
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
intelligibility_utils.h | 47 // The result is an array of variances per position: the i-th variance 48 // is the variance of the stream of data on the i-th positions in the 91 const float* variance() const { return variance_.get(); } function in class:webrtc::intelligibility::VarianceArray
|
/external/webrtc/webrtc/voice_engine/ |
utility_unittest.cc | 98 float variance = 0; local 103 variance += ref_frame.data_[i] * ref_frame.data_[i]; 107 snr = 10 * log10(variance / mse);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
variance_c.c | 12 #include "variance.h" 34 static void variance( function 76 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg); 92 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 16, &var, &avg); 108 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 8, &var, &avg); 125 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 8, &var, &avg); 141 variance(src_ptr, source_stride, ref_ptr, recon_stride, 4, 4, &var, &avg); 157 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg);
|
/system/extras/tests/ext4/ |
rand_emmc_perf.c | 59 long long variance = 0;; local 104 variance += x; /* Summation */ 106 sdev = sqrt((double)variance/(double)stats_count);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
KMeansPlusPlusClusterer.java | 27 import org.apache.commons.math.stat.descriptive.moment.Variance; 41 /** Split the cluster with largest distance variance. */ 64 * algorithm iterations is to split the cluster with largest distance variance. 201 * Get a random point from the {@link Cluster} with the largest distance variance. 213 // compute the distance variance of the current cluster 215 final Variance stat = new Variance(); 219 final double variance = stat.getResult(); local 221 // select the cluster with the largest variance 222 if (variance > maxVariance) [all...] |
/external/libvpx/libvpx/vpx_dsp/ |
variance.c | 17 #include "vpx_dsp/variance.h" 80 static void variance(const uint8_t *a, int a_stride, function 165 variance(a, a_stride, b, b_stride, W, H, sse, &sum); \ 207 /* Identical to the variance call except it takes an additional parameter, sum, 215 variance(a, a_stride, b, b_stride, W, H, sse, sum); \ 218 /* Identical to the variance call except it does not calculate the 227 variance(a, a_stride, b, b_stride, W, H, sse, &sum); \ 231 /* All three forms of the variance are available in the same sizes. */ 577 /* All three forms of the variance are available in the same sizes. */
|