Home
last modified time | relevance | path

Searched refs:moments (Results 1 – 25 of 77) sorted by relevance

1234

/external/abseil-cpp/absl/random/
Ddistributions_test.cc319 const auto moments = in TEST_F() local
321 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
322 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
323 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
324 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
338 const auto moments = in TEST_F() local
340 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
341 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
342 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
343 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
[all …]
Duniform_int_distribution_test.cc149 auto moments = absl::random_internal::ComputeDistributionMoments(values); in TYPED_TEST() local
159 EXPECT_NEAR(mean, moments.mean, 0.01 * var); in TYPED_TEST()
160 EXPECT_NEAR(var, moments.variance, 0.015 * var); in TYPED_TEST()
161 EXPECT_NEAR(0.0, moments.skewness, 0.025); in TYPED_TEST()
162 EXPECT_NEAR(kurtosis, moments.kurtosis, 0.02 * kurtosis); in TYPED_TEST()
/external/webrtc/third_party/abseil-cpp/absl/random/
Ddistributions_test.cc319 const auto moments = in TEST_F() local
321 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
322 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
323 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
324 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
338 const auto moments = in TEST_F() local
340 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
341 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
342 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
343 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
[all …]
Duniform_int_distribution_test.cc149 auto moments = absl::random_internal::ComputeDistributionMoments(values); in TYPED_TEST() local
159 EXPECT_NEAR(mean, moments.mean, 0.01 * var); in TYPED_TEST()
160 EXPECT_NEAR(var, moments.variance, 0.015 * var); in TYPED_TEST()
161 EXPECT_NEAR(0.0, moments.skewness, 0.025); in TYPED_TEST()
162 EXPECT_NEAR(kurtosis, moments.kurtosis, 0.02 * kurtosis); in TYPED_TEST()
/external/angle/third_party/abseil-cpp/absl/random/
Ddistributions_test.cc295 const auto moments = in TEST_F() local
297 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
298 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
299 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
300 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
314 const auto moments = in TEST_F() local
316 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
317 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
318 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
319 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
[all …]
Duniform_int_distribution_test.cc154 auto moments = absl::random_internal::ComputeDistributionMoments(values); in TYPED_TEST() local
164 EXPECT_NEAR(mean, moments.mean, 0.01 * var); in TYPED_TEST()
165 EXPECT_NEAR(var, moments.variance, 0.015 * var); in TYPED_TEST()
166 EXPECT_NEAR(0.0, moments.skewness, 0.025); in TYPED_TEST()
167 EXPECT_NEAR(kurtosis, moments.kurtosis, 0.02 * kurtosis); in TYPED_TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Ddistributions_test.cc285 const auto moments = in TEST_F() local
287 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
288 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
289 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
290 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
304 const auto moments = in TEST_F() local
306 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
307 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
308 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
309 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
[all …]
Duniform_int_distribution_test.cc154 auto moments = absl::random_internal::ComputeDistributionMoments(values); in TYPED_TEST() local
164 EXPECT_NEAR(mean, moments.mean, 0.01 * var); in TYPED_TEST()
165 EXPECT_NEAR(var, moments.variance, 0.015 * var); in TYPED_TEST()
166 EXPECT_NEAR(0.0, moments.skewness, 0.025); in TYPED_TEST()
167 EXPECT_NEAR(kurtosis, moments.kurtosis, 0.02 * kurtosis); in TYPED_TEST()
/external/openscreen/third_party/abseil/src/absl/random/
Ddistributions_test.cc285 const auto moments = in TEST_F() local
287 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
288 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
289 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
290 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
304 const auto moments = in TEST_F() local
306 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
307 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
308 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
309 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
[all …]
Duniform_int_distribution_test.cc154 auto moments = absl::random_internal::ComputeDistributionMoments(values); in TYPED_TEST() local
164 EXPECT_NEAR(mean, moments.mean, 0.01 * var); in TYPED_TEST()
165 EXPECT_NEAR(var, moments.variance, 0.015 * var); in TYPED_TEST()
166 EXPECT_NEAR(0.0, moments.skewness, 0.025); in TYPED_TEST()
167 EXPECT_NEAR(kurtosis, moments.kurtosis, 0.02 * kurtosis); in TYPED_TEST()
Duniform_real_distribution_test.cc221 const auto moments = in TYPED_TEST() local
223 EXPECT_NEAR(0.5, moments.mean, 0.01); in TYPED_TEST()
224 EXPECT_NEAR(1 / 12.0, moments.variance, 0.015); in TYPED_TEST()
225 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TYPED_TEST()
226 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.015); in TYPED_TEST()
/external/libtextclassifier/abseil-cpp/absl/random/
Ddistributions_test.cc285 const auto moments = in TEST_F() local
287 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
288 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
289 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
290 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
304 const auto moments = in TEST_F() local
306 EXPECT_NEAR(0.5, moments.mean, 0.02); in TEST_F()
307 EXPECT_NEAR(1 / 12.0, moments.variance, 0.02); in TEST_F()
308 EXPECT_NEAR(0.0, moments.skewness, 0.02); in TEST_F()
309 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F()
[all …]
Duniform_int_distribution_test.cc154 auto moments = absl::random_internal::ComputeDistributionMoments(values); in TYPED_TEST() local
164 EXPECT_NEAR(mean, moments.mean, 0.01 * var); in TYPED_TEST()
165 EXPECT_NEAR(var, moments.variance, 0.015 * var); in TYPED_TEST()
166 EXPECT_NEAR(0.0, moments.skewness, 0.025); in TYPED_TEST()
167 EXPECT_NEAR(kurtosis, moments.kurtosis, 0.02 * kurtosis); in TYPED_TEST()
/external/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc74 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments) { in operator <<() argument
76 moments.mean, std::sqrt(moments.variance), in operator <<()
77 moments.skewness, moments.kurtosis); in operator <<()
403 double ZScore(double expected_mean, const DistributionMoments& moments) { in ZScore() argument
404 return (moments.mean - expected_mean) / in ZScore()
405 (std::sqrt(moments.variance) / in ZScore()
406 std::sqrt(static_cast<double>(moments.n))); in ZScore()
Ddistribution_test_util.h47 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments);
51 double ZScore(double expected_mean, const DistributionMoments& moments);
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc74 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments) { in operator <<() argument
76 moments.mean, std::sqrt(moments.variance), in operator <<()
77 moments.skewness, moments.kurtosis); in operator <<()
403 double ZScore(double expected_mean, const DistributionMoments& moments) { in ZScore() argument
404 return (moments.mean - expected_mean) / in ZScore()
405 (std::sqrt(moments.variance) / in ZScore()
406 std::sqrt(static_cast<double>(moments.n))); in ZScore()
Ddistribution_test_util.h47 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments);
51 double ZScore(double expected_mean, const DistributionMoments& moments);
/external/openscreen/third_party/abseil/src/absl/random/internal/
Ddistribution_test_util.cc74 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments) { in operator <<() argument
76 moments.mean, std::sqrt(moments.variance), in operator <<()
77 moments.skewness, moments.kurtosis); in operator <<()
403 double ZScore(double expected_mean, const DistributionMoments& moments) { in ZScore() argument
404 return (moments.mean - expected_mean) / in ZScore()
405 (std::sqrt(moments.variance) / in ZScore()
406 std::sqrt(static_cast<double>(moments.n))); in ZScore()
Ddistribution_test_util.h47 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments);
51 double ZScore(double expected_mean, const DistributionMoments& moments);
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc74 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments) { in operator <<() argument
76 moments.mean, std::sqrt(moments.variance), in operator <<()
77 moments.skewness, moments.kurtosis); in operator <<()
403 double ZScore(double expected_mean, const DistributionMoments& moments) { in ZScore() argument
404 return (moments.mean - expected_mean) / in ZScore()
405 (std::sqrt(moments.variance) / in ZScore()
406 std::sqrt(static_cast<double>(moments.n))); in ZScore()
Ddistribution_test_util.h47 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments);
51 double ZScore(double expected_mean, const DistributionMoments& moments);
/external/angle/third_party/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc74 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments) { in operator <<() argument
76 moments.mean, std::sqrt(moments.variance), in operator <<()
77 moments.skewness, moments.kurtosis); in operator <<()
403 double ZScore(double expected_mean, const DistributionMoments& moments) { in ZScore() argument
404 return (moments.mean - expected_mean) / in ZScore()
405 (std::sqrt(moments.variance) / in ZScore()
406 std::sqrt(static_cast<double>(moments.n))); in ZScore()
Ddistribution_test_util.h47 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments);
51 double ZScore(double expected_mean, const DistributionMoments& moments);
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc74 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments) { in operator <<() argument
76 moments.mean, std::sqrt(moments.variance), in operator <<()
77 moments.skewness, moments.kurtosis); in operator <<()
403 double ZScore(double expected_mean, const DistributionMoments& moments) { in ZScore() argument
404 return (moments.mean - expected_mean) / in ZScore()
405 (std::sqrt(moments.variance) / in ZScore()
406 std::sqrt(static_cast<double>(moments.n))); in ZScore()
Ddistribution_test_util.h47 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments);
51 double ZScore(double expected_mean, const DistributionMoments& moments);

1234