/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());
|
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiNewSetupAutoJoinTest.py | 184 variance = 5 185 attenuations = ([att0 + variance * 2, att1, att2, att3], 186 [att0 + variance, att1, att2, att3], [att0, att1, att2, att3], 187 [att0 - variance, att1, att2, att3]) 208 variance = 5 209 attenuations = ([att0 + variance * 2, att1, att2, attn3], 210 [att0 + variance, att1, att2, attn3], [att0, att1, att2, attn3]) 231 variance = 5 232 attenuations = ([att0 - variance, att1 + variance, att2, attn3] [all...] |
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/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/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/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
gim_box_set.cpp | 41 btVector3 variance(btScalar(0.),btScalar(0.),btScalar(0.)); 58 variance += diff2; 60 variance *= (btScalar(1.)/ ((btScalar)numIndices-1) ); 62 return variance.maxAxis();
|
/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);
|