/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);
|
/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/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...] |
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiAutoJoinTest.py | 177 variance = 5 178 attenuations = ([att0+variance*2, att1, att2], [att0+variance, att1, att2], 179 [att0, att1, att2], [att0-variance, att1, att2]) 199 variance = 5 200 attenuations = ([att0+variance*2, att1, att2], [att0+variance, att1, att2], 222 variance = 5 223 attenuations = ([att0-variance, att1+variance, att2], [att0, att1, att2] [all...] |
/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/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/webrtc/webrtc/modules/audio_processing/intelligibility/ |
intelligibility_utils_unittest.cc | 71 // Tests VarianceArray, for all variance step types. 87 EXPECT_EQ(0, variance_array.variance()[0]); 90 EXPECT_EQ(0, variance_array.variance()[0]); 100 EXPECT_GE(variance_array.variance()[j], 0.0f); 101 EXPECT_LE(variance_array.variance()[j], 1.0f); 105 EXPECT_EQ(0, variance_array.variance()[0]); 141 EXPECT_EQ(0, variance_array.variance()[j]); 143 EXPECT_NEAR(kTestVarianceBufferNotFull, variance_array.variance()[j], 146 EXPECT_NEAR(kTestVarianceBufferFull1, variance_array.variance()[j], 149 EXPECT_NEAR(kTestVarianceBufferFull2, variance_array.variance()[j] [all...] |
/external/webrtc/webrtc/modules/audio_processing/test/ |
test_utils.h | 107 float ComputeSNR(const T* ref, const T* test, size_t length, float* variance) { 110 *variance = 0; 114 *variance += ref[i] * ref[i]; 118 *variance /= length; 120 *variance -= mean * mean; 124 snr = 10 * log10(*variance / mse);
|
/external/autotest/server/tests/netpipe/ |
netpipe.py | 7 def run_once(self, pair, buffer, upper_bound, variance): 43 buffer, upper_bound, variance, 46 buffer, upper_bound, variance,
|
/external/libmpeg2/common/arm/ |
icv_variance_a9.s | 26 @* This file contains definitions of routines for variance caclulation 42 @* @brief computes variance of a 8x4 block 46 @* This functions computes variance of a 8x4 block 61 @* variance value in r0
|
/frameworks/av/include/cpustats/ |
CentralTendencyStatistics.h | 45 // return the variance of all samples so far 46 double variance() const; 65 // cached variance, and n at time of caching
|
/hardware/intel/common/libva/va/vendor/intel/ |
va_intel_statistics.h | 41 * number of non-zero coefficients, MB variance and MB pixel average. 156 unsigned int variance; member in struct:_VAStatsStatistics16x16Intel
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/ |
TTestImpl.java | 191 return t(StatUtils.mean(observed), mu, StatUtils.variance(observed), 235 * and <strong><code>var</code></strong> is the pooled variance estimate: 239 * with <strong><code>var1<code></strong> the variance of the first sample and 240 * <strong><code>var2</code></strong> the variance of the second sample. 256 StatUtils.variance(sample1), StatUtils.variance(sample2), 276 * <strong><code> var1</code></strong> is the variance of the first sample; 277 * <strong><code> var2</code></strong> is the variance of the second sample; 293 StatUtils.variance(sample1), StatUtils.variance(sample2) [all...] |
/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);
|
/external/autotest/client/site_tests/video_WebRtcCamera/ |
ssim.js | 29 // square root. The latter is actually an unbiased estimate of the variance, 30 // not the exact variance. 43 return {mean : meanA, variance : accu / a.length}; 70 var sigmaX2 = statsX.variance; 74 var sigmaY2 = statsY.variance;
|
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/ |
ssim.js | 29 // square root. The latter is actually an unbiased estimate of the variance, 30 // not the exact variance. 43 return {mean : meanA, variance : accu / a.length}; 70 var sigmaX2 = statsX.variance; 74 var sigmaY2 = statsY.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/pdfium/xfa/src/fxbarcode/oned/ |
BC_OnedCode128Reader.cpp | 111 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/opencv3/modules/flann/include/opencv2/flann/ |
kmeans_index.h | 537 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 = variance 850 DistanceType variance = 0; local 1074 DistanceType variance = meanVariance - clusters[i]->variance*clusters[i]->size; local [all...] |
/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);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_variance.c | 21 void variance(const uint8_t *src_ptr, function 174 variance(src_ptr, source_stride, ref_ptr, recon_stride, 64, 32, &var, &avg); 231 variance(src_ptr, source_stride, ref_ptr, recon_stride, 32, 64, &var, &avg); 288 variance(src_ptr, source_stride, ref_ptr, recon_stride, 32, 16, &var, &avg); 345 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 32, &var, &avg); 402 variance(src_ptr, source_stride, ref_ptr, recon_stride, 64, 64, &var, &avg); 415 variance(src_ptr, source_stride, ref_ptr, recon_stride, 32, 32, &var, &avg); 428 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg); 441 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 16, &var, &avg); 454 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 8, &var, &avg) [all...] |
/external/opencv/cvaux/src/ |
cvbgfg_gaussmix.cpp | 79 icvMatchTest(...) assumes what all color channels component exhibit the same variance 120 //Rw is the learning rate for weight and Rg is leaning rate for mean and variance 126 //The list is maintained in sorted order using w/sqrt(variance) as a key 132 //v[n+1] = v[n] + Rg*((x[n+1] - u[n])*(x[n+1] - u[n])) - v[n]) variance 206 bg_model->g_point[n].g_values[0].variance[m] = var_init; 214 bg_model->g_point[n].g_values[k].variance[m] = var_init; 390 var_threshold += g_point->g_values[k].variance[m]; 420 sum_d2 += (d*d) / (g_point->g_values[k].variance[m] * g_point->g_values[k].variance[m]); 452 g_point->g_values[k].variance[m] = g_point->g_values[k].variance[m] [all...] |