/external/abseil-cpp/absl/random/ |
D | distributions_test.cc | 319 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 …]
|
D | uniform_int_distribution_test.cc | 149 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/ |
D | distributions_test.cc | 319 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 …]
|
D | uniform_int_distribution_test.cc | 149 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/ |
D | distributions_test.cc | 295 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 …]
|
D | uniform_int_distribution_test.cc | 154 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/ |
D | distributions_test.cc | 285 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 …]
|
D | uniform_int_distribution_test.cc | 154 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/ |
D | distributions_test.cc | 285 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 …]
|
D | uniform_int_distribution_test.cc | 154 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()
|
D | uniform_real_distribution_test.cc | 221 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/ |
D | distributions_test.cc | 285 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 …]
|
D | uniform_int_distribution_test.cc | 154 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/ |
D | distribution_test_util.cc | 74 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()
|
D | distribution_test_util.h | 47 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/ |
D | distribution_test_util.cc | 74 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()
|
D | distribution_test_util.h | 47 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/ |
D | distribution_test_util.cc | 74 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()
|
D | distribution_test_util.h | 47 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/ |
D | distribution_test_util.cc | 74 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()
|
D | distribution_test_util.h | 47 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/ |
D | distribution_test_util.cc | 74 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()
|
D | distribution_test_util.h | 47 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/ |
D | distribution_test_util.cc | 74 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()
|
D | distribution_test_util.h | 47 std::ostream& operator<<(std::ostream& os, const DistributionMoments& moments); 51 double ZScore(double expected_mean, const DistributionMoments& moments);
|