Searched defs:variance (Results 1 - 25 of 38) sorted by relevance

12

/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
H A Dvideo_sync_test.cc58 // 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/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
H A DStatisticalSummaryValues.java38 /** 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, argument
67 this.variance = variance;
113 return FastMath.sqrt(variance);
117 * @return Returns the variance.
120 return variance;
[all...]
H A DSummaryStatistics.java45 * default implementation for the variance can be overridden by calling
67 /** SecondMoment is used to compute the mean and variance */
91 /** variance of values that have been added */
92 protected Variance variance = new Variance(); field in class:SummaryStatistics
116 private StorelessUnivariateStatistic varianceImpl = variance;
154 // If mean, variance or geomean have been overridden,
230 * Returns the variance of the values that have been added.
234 * @return the variance
237 if (varianceImpl == variance) {
321 outBuffer.append("variance
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DStandardDeviation.java26 * is the positive square root of the variance. This implementation wraps a
30 * bias-corrected "sample variance") or the "population standard deviation"
31 * (the square root of the non-bias-corrected "population variance"). See
48 private Variance variance = null; field in class:StandardDeviation
55 variance = new Variance();
64 variance = new Variance(m2);
84 * @param isBiasCorrected whether or not the variance computation will use
88 variance = new Variance(isBiasCorrected);
98 * @param isBiasCorrected whether or not the variance computation will use
103 variance
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/value/
H A Dlist_of_scalar_values.py14 """ Compute the population variance.
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
218 list_of_samples, list_of_variances=[v.variance for v in values])
/external/guava/guava-tests/benchmark/com/google/common/math/
H A DStatsBenchmark.java28 * 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) { argument
79 this.variance = variance;
84 return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance);
91 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) {
97 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) {
109 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) {
126 MeanAndVariance variance(doubl
141 abstract MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm); method in class:StatsBenchmark.VarianceAlgorithm
[all...]
/external/webrtc/webrtc/modules/audio_processing/test/
H A Dtest_utils.h107 float ComputeSNR(const T* ref, const T* test, size_t length, float* variance) { argument
110 *variance = 0;
114 *variance += ref[i] * ref[i];
118 *variance /= length;
120 *variance -= mean * mean;
124 snr = 10 * log10(*variance / mse);
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dprofile.rb84 def variance method in class:ANTLR3.Profile.DataSet
90 sqrt( variance )
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
H A DStatUtils.java63 /** variance */
301 * Returns the variance of the entries in the input array, or
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
320 * Returns the variance of the entries in the specified portion of
335 * @return the variance of the values or Double.NaN if length = 0
339 public static double variance(final double[] values, final int begin, method in class:StatUtils
345 * Returns the variance of the entries in the specified portion of
366 * @return the variance of the values or Double.NaN if length = 0
370 public static double variance(fina method in class:StatUtils
397 public static double variance(final double[] values, final double mean) { method in class:StatUtils
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_blockiness.c23 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);
H A Dvp9_denoiser.c574 // the variance to update estimate of noise in the source.
611 // Compute variance.
613 unsigned int variance = cpi->fn_ptr[bsize].vf(src_y, local
619 // average term (sse - variance = N * avg^{2}, N = 16X16) of the
621 if ((sse - variance) < thresh_sum_diff) {
626 avg_est += variance / (10 + spatial_variance);
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
H A Dintelligibility_utils.h47 // 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/deqp/modules/gles31/functional/
H A Des31fSampleVariableTests.cpp162 const float variance = (1.0f / (12.0f * (float)m_numSamples)); local
163 const float standardDeviation = deFloatSqrt(variance);
/external/libvpx/libvpx/vpx_dsp/
H A Dvariance.c17 #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. */
/external/pdfium/xfa/src/fxbarcode/oned/
H A DBC_OneDReader.cpp178 int32_t variance = counter > scaledPattern ? counter - scaledPattern local
180 if (variance > maxIndividualVariance) {
184 totalVariance += variance;
H A DBC_OneDimReader.cpp206 int32_t variance = PatternMatchVariance(counters, &patterns[i * 4], local
208 if (variance < bestVariance) {
209 bestVariance = variance;
H A DBC_OnedCode128Reader.cpp111 int32_t variance = PatternMatchVariance( local
113 if (variance < bestVariance) {
114 bestVariance = variance;
158 int32_t variance = PatternMatchVariance(counters, &CODE_PATTERNS[d][0], local
160 if (variance < bestVariance) {
161 bestVariance = variance;
/external/webrtc/webrtc/common_audio/
H A Daudio_converter_unittest.cc58 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/voice_engine/
H A Dutility_unittest.cc98 float variance = 0; local
103 variance += ref_frame.data_[i] * ref_frame.data_[i];
107 snr = 10 * log10(variance / mse);
/external/harfbuzz_ng/test/shaping/
H A Dhb_test_tools.py189 def variance (self): member in class:Stats
194 return self.variance () ** .5
/external/opencv3/modules/imgproc/src/
H A Dgrabcut.cpp176 const double variance = 0.01; local
198 c[0] += variance;
199 c[4] += variance;
200 c[8] += variance;
/external/pdfium/xfa/src/fxbarcode/pdf417/
H A DBC_PDF417Detector.cpp342 int32_t variance = counter > scaledPattern ? counter - scaledPattern local
344 if (variance > maxIndividualVariance) {
347 totalVariance += variance;
/external/deqp/modules/glshared/
H A DglsStateChangePerfTestCases.cpp59 double variance; member in struct:deqp::gls::__anon4623::ResultStats
79 result.variance += (val - result.mean) * (val - result.mean);
82 result.variance /= (double)values.size();
548 log << TestLog::Message << "Interleaved variance: " << interleaved.variance << TestLog::EndMessage;
554 log << TestLog::Message << "Batched variance: " << batched.variance << TestLog::EndMessage;
702 log << TestLog::Message << "Iteration variance time: " << varIteration << TestLog::EndMessage;
/external/mesa3d/src/mesa/main/
H A Dtexcompress_fxt1.c334 fxt1_variance (GLdouble variance[MAX_COMP], argument
354 if (variance) {
355 variance[i] = var;
1083 /* Scan the channel with max variance for lo & hi
/external/opencv3/modules/flann/include/opencv2/flann/
H A Dkmeans_index.h537 DistanceType variance; local
540 int clusterCount = getMinVarianceClusters(root_, clusters, numClusters, variance);
580 * The cluster variance.
582 DistanceType variance; member in struct:cvflann::KMeansIndex::KMeansNode
660 * Computes the statistics of a node (mean, radius, variance).
670 DistanceType variance = 0; local
681 variance += distance_(vec, ZeroIterator<ElementType>(), veclen_);
686 variance /= size_;
687 variance -= distance_(mean, ZeroIterator<ElementType>(), veclen_);
697 node->variance
850 DistanceType variance = 0; local
1074 DistanceType variance = meanVariance - clusters[i]->variance*clusters[i]->size; local
[all...]

Completed in 4890 milliseconds

12