Home
last modified time | relevance | path

Searched refs:variance (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/typescript/tests/baselines/reference/
Dvariance.symbols1 === tests/cases/conformance/types/conditional/variance.ts ===
7 >Foo : Symbol(Foo, Decl(variance.ts, 0, 0))
8 >T : Symbol(T, Decl(variance.ts, 4, 14))
11 >prop : Symbol(Foo.prop, Decl(variance.ts, 4, 18))
12 >T : Symbol(T, Decl(variance.ts, 4, 14))
16 >foo : Symbol(foo, Decl(variance.ts, 8, 5))
17 >prop : Symbol(prop, Decl(variance.ts, 8, 13))
21 >x : Symbol(x, Decl(variance.ts, 9, 5))
22 >Foo : Symbol(Foo, Decl(variance.ts, 0, 0))
23 >foo : Symbol(foo, Decl(variance.ts, 8, 5))
[all …]
DvarianceAnnotations.errors.txt18 …variant1<super-T>' is not assignable to type 'Covariant1<sub-T>' as implied by variance annotation.
22 …ant2<sub-T>' is not assignable to type 'Contravariant2<super-T>' as implied by variance annotation.
27 …variant1<super-T>' is not assignable to type 'Invariant1<sub-T>' as implied by variance annotation.
30 …variant2<sub-T>' is not assignable to type 'Invariant2<super-T>' as implied by variance annotation.
35 …36: Type 'Foo1<super-T>' is not assignable to type 'Foo1<sub-T>' as implied by variance annotation.
38 …36: Type 'Foo2<sub-T>' is not assignable to type 'Foo2<super-T>' as implied by variance annotation.
137 …variant1<super-T>' is not assignable to type 'Covariant1<sub-T>' as implied by variance annotation.
149 …ant2<sub-T>' is not assignable to type 'Contravariant2<super-T>' as implied by variance annotation.
159 …variant1<super-T>' is not assignable to type 'Invariant1<sub-T>' as implied by variance annotation.
167 …variant2<sub-T>' is not assignable to type 'Invariant2<super-T>' as implied by variance annotation.
[all …]
DvarianceAnnotationValidation.errors.txt1 …ntroller<sub-T>' is not assignable to type 'Controller<super-T>' as implied by variance annotation.
17 …ntroller<sub-T>' is not assignable to type 'Controller<super-T>' as implied by variance annotation.
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Ddistribution_test_util_test.cc162 m.variance = 1; in TEST()
167 m.variance = 1; in TEST()
172 m.variance = 100; in TEST()
180 m.variance = 1; in TEST()
185 m.variance = 1; in TEST()
190 m.variance = 100; in TEST()
Dchi_square.cc125 const double variance = 2.0 / (9 * dof); in ChiSquareValue() local
127 if (variance != 0) { in ChiSquareValue()
128 return std::pow(z * std::sqrt(variance) + mean, 3.0) * dof; in ChiSquareValue()
172 const double variance = 2.0 / (9 * dof); in ChiSquarePValue() local
174 if (variance != 0) { in ChiSquarePValue()
175 const double z = (chi_square_scaled - mean) / std::sqrt(variance); in ChiSquarePValue()
Ddistribution_test_util.cc53 result.variance += v * v; in ComputeDistributionMoments()
57 result.variance /= static_cast<double>(result.n - 1); in ComputeDistributionMoments()
60 result.skewness /= std::pow(result.variance, 1.5); in ComputeDistributionMoments()
63 result.kurtosis /= std::pow(result.variance, 2.0); in ComputeDistributionMoments()
76 moments.mean, std::sqrt(moments.variance), in operator <<()
405 (std::sqrt(moments.variance) / in ZScore()
Ddistribution_test_util.h40 double variance = 0.0; member
/third_party/ffmpeg/libavfilter/
Dvf_palettegen.c43 int64_t variance; // overall variance of the box (how much the colors are spread) member
176 if (box->variance == -1) { in get_next_box_id_to_split()
177 int64_t variance = 0; in get_next_box_id_to_split() local
182 variance += (int64_t)diff_alpha(ref->color, box->color) * ref->count; in get_next_box_id_to_split()
184 variance += (int64_t)diff(ref->color, box->color) * ref->count; in get_next_box_id_to_split()
186 box->variance = variance; in get_next_box_id_to_split()
188 if (box->variance > max_variance) { in get_next_box_id_to_split()
190 max_variance = box->variance; in get_next_box_id_to_split()
193 box->variance = -1; in get_next_box_id_to_split()
249 box->variance = -1; in split_box()
[all …]
Daf_dynaudnorm.c585 double variance = 0.0; in compute_frame_std_dev() local
592 variance += pow_2(data_ptr[i]); // Assume that MEAN is *zero* in compute_frame_std_dev()
595 variance /= (s->channels * frame->nb_samples) - 1; in compute_frame_std_dev()
600 variance += pow_2(data_ptr[i]); // Assume that MEAN is *zero* in compute_frame_std_dev()
602 variance /= frame->nb_samples - 1; in compute_frame_std_dev()
605 return fmax(sqrt(variance), DBL_EPSILON); in compute_frame_std_dev()
/third_party/python/Doc/library/
Dstatistics.rst66 :func:`pvariance` Population variance of data.
68 :func:`variance` Sample variance of data.
388 variance). See :func:`pvariance` for arguments and other details.
398 Return the population variance of *data*, a non-empty sequence or iterable
401 variance indicates that the data is spread out; a small variance indicates
409 Use this function to calculate the variance from the entire population. To
410 estimate the variance from a sample, the :func:`variance` function is usually
446 When called with the entire population, this gives the population variance
447 σ². When called on a sample instead, this is the biased sample variance
448 s², also known as variance with N degrees of freedom.
[all …]
/third_party/benchmark/docs/
Dreducing_variance.md40 The benchmarks you subsequently run will have less variance.
42 <a name="reducing-variance" />
48 of noise in benchmarks. Some, but not all, of the sources of variance
63 These can cause variance in benchmarks results within a single run
67 Reducing sources of variance is OS and architecture dependent, which is one
70 Some of the easier and and effective ways of reducing variance on a typical
Drandom_interleaving.md6 technique to lower run-to-run variance. It randomly interleaves repetitions of a
8 test. Data shows it is able to lower run-to-run variance by
/third_party/python/Lib/
Dstatistics.py725 def variance(data, xbar=None): function
828 var = variance(data, xbar)
1084 variance = self._sigma ** 2.0
1085 if not variance:
1087 return exp((x - self._mu)**2.0 / (-2.0*variance)) / sqrt(tau*variance)
1143 X_var, Y_var = X.variance, Y.variance
1192 def variance(self): member in NormalDist
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Ddistributions_test.cc298 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
317 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
346 EXPECT_NEAR(1.0, moments.variance, 0.025); in TEST_F()
362 EXPECT_NEAR(1.0, moments.variance, 0.02); in TEST_F()
379 EXPECT_NEAR(kMean, moments.variance, kMean * 0.015); in TEST_F()
440 EXPECT_NEAR(1.0, moments.variance, 0.04); in TEST_F()
Dexponential_distribution_test.cc158 double variance() const { return beta_ * beta_; } in variance() function in __anon5cfb268d0111::ExponentialModel
159 double stddev() const { return std::sqrt(variance()); } in stddev()
231 std::sqrt(m.variance), stddev(), m.skewness, in SingleZTest()
Dpoisson_distribution_test.cc168 double variance() const { return mean_; } in variance() function in __anon051b98310111::PoissonModel
169 double stddev() const { return std::sqrt(variance()); } in stddev()
296 p, max_err, m.mean, mean(), std::sqrt(m.variance), in SingleZTest()
/third_party/ffmpeg/libavutil/
Dlls.c90 m->variance[j] = covar_y[0]; in avpriv_solve_lls()
98 m->variance[j] += m->coeff[j][i] * sum; in avpriv_solve_lls()
Dlls.h40 double variance[MAX_VARS]; member
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_canvas/
Dperf_puppeteer_canvas.go280 variance := float32(0)
282 variance += (sorted[i] - avg) * (sorted[i] - avg)
284 stddev := float32(math.Sqrt(float64(variance / float32(len(sorted)))))
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
DHistogramWriter.cpp212 js::Value variance(running.variance()); in getAsJSON() local
220 stats.PushBack(variance, allocator); in getAsJSON()
/third_party/vk-gl-cts/modules/glshared/
DglsStateChangePerfTestCases.cpp59 double variance; member
79 result.variance += (val - result.mean) * (val - result.mean); in calculateStats()
82 result.variance /= (double)values.size(); in calculateStats()
548 …log << TestLog::Message << "Interleaved variance: " << interleaved.variance << TestLog::End… in logAndSetTestResult()
554 …log << TestLog::Message << "Batched variance: " << batched.variance << TestLog::EndMessag… in logAndSetTestResult()
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_render_skps/
Dperf_puppeteer_render_skps.go353 variance := float32(0)
355 variance += (sorted[i] - avg) * (sorted[i] - avg)
357 stddev := float32(math.Sqrt(float64(variance / float32(len(sorted)))))
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_skottie_frames/
Dperf_puppeteer_skottie_frames.go376 variance := float32(0)
378 variance += (sorted[i] - avg) * (sorted[i] - avg)
380 stddev := float32(math.Sqrt(float64(variance / float32(len(sorted)))))
/third_party/typescript/src/compiler/
Ddebug.ts770 const variance = varianceFlags & VarianceFlags.VarianceMask; constant
772 variance === VarianceFlags.Invariant ? "in out" :
773 variance === VarianceFlags.Bivariant ? "[bivariant]" :
774 variance === VarianceFlags.Contravariant ? "in" :
775 variance === VarianceFlags.Covariant ? "out" :
776 variance === VarianceFlags.Independent ? "[independent]" : "";
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DANGLEPerfTest.cpp317 double variance = 0; in run() local
321 variance += difference * difference; in run()
323 variance /= numResults; in run()
325 double standardDeviation = std::sqrt(variance); in run()

1234