/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/ |
D | eval.pass.cpp | 45 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 51 double d = (u[i] - mean); in main() 62 double x_mean = d.mean(); in main() 63 double x_var = d.mean(); in main() 66 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 84 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 90 double d = (u[i] - mean); in main() 101 double x_mean = d.mean(); in main() 102 double x_var = d.mean(); in main() 105 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() [all …]
|
D | eval_param.pass.cpp | 47 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 53 double d = (u[i] - mean); in main() 64 double x_mean = p.mean(); in main() 65 double x_var = p.mean(); in main() 68 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 88 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 94 double d = (u[i] - mean); in main() 105 double x_mean = p.mean(); in main() 106 double x_var = p.mean(); in main() 109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
D | eval.pass.cpp | 45 double mean = std::accumulate(u.begin(), u.end(), in main() local 52 double d = (u[i] - mean); in main() 67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 85 double mean = std::accumulate(u.begin(), u.end(), in main() local 92 double d = (u[i] - mean); in main() 107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 125 double mean = std::accumulate(u.begin(), u.end(), in main() local 132 double d = (u[i] - mean); in main() 147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 165 double mean = std::accumulate(u.begin(), u.end(), in main() local [all …]
|
D | eval_param.pass.cpp | 47 double mean = std::accumulate(u.begin(), u.end(), in main() local 54 double d = (u[i] - mean); in main() 69 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 89 double mean = std::accumulate(u.begin(), u.end(), in main() local 96 double d = (u[i] - mean); in main() 111 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 131 double mean = std::accumulate(u.begin(), u.end(), in main() local 138 double d = (u[i] - mean); in main() 153 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/ |
D | eval.pass.cpp | 42 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 48 double d = (u[i] - mean); in main() 63 assert(std::abs(mean - x_mean) < 0.01); in main() 78 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 84 double d = (u[i] - mean); in main() 99 assert(std::abs(mean - x_mean) < 0.01); in main() 114 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 120 double d = (u[i] - mean); in main() 135 assert(std::abs(mean - x_mean) < 0.01); in main()
|
D | eval_param.pass.cpp | 43 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 49 double d = (u[i] - mean); in main() 64 assert(std::abs(mean - x_mean) < 0.01); in main() 80 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 86 double d = (u[i] - mean); in main() 101 assert(std::abs(mean - x_mean) < 0.01); in main() 117 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 123 double d = (u[i] - mean); in main() 138 assert(std::abs(mean - x_mean) < 0.01); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/ |
D | ctor_double_double.pass.cpp | 25 assert(d.mean() == 0); in main() 31 assert(d.mean() == 14.5); in main() 37 assert(d.mean() == 14.5); in main()
|
D | param_ctor.pass.cpp | 27 assert(p.mean() == 0); in main() 34 assert(p.mean() == 10); in main() 41 assert(p.mean() == 10); in main()
|
D | eval_param.pass.cpp | 43 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 49 double d = (u[i] - mean); in main() 60 double x_mean = p.mean(); in main() 64 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
D | eval.pass.cpp | 42 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 48 double d = (u[i] - mean); in main() 59 double x_mean = d.mean(); in main() 63 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
D | eval.pass.cpp | 45 double mean = std::accumulate(u.begin(), u.end(), in main() local 52 double d = (u[i] - mean); in main() 68 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 86 double mean = std::accumulate(u.begin(), u.end(), in main() local 93 double d = (u[i] - mean); in main() 109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 127 double mean = std::accumulate(u.begin(), u.end(), in main() local 134 double d = (u[i] - mean); in main() 150 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 168 double mean = std::accumulate(u.begin(), u.end(), in main() local [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
D | eval.pass.cpp | 45 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 51 double d = (u[i] - mean); in main() 66 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 84 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 90 double d = (u[i] - mean); in main() 105 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 123 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 129 double d = (u[i] - mean); in main() 144 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 162 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local [all …]
|
D | eval_param.pass.cpp | 46 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 52 double d = (u[i] - mean); in main() 67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 86 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 92 double d = (u[i] - mean); in main() 107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 126 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 132 double d = (u[i] - mean); in main() 147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 166 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
D | eval.pass.cpp | 45 double mean = std::accumulate(u.begin(), u.end(), in main() local 52 double d = (u[i] - mean); in main() 67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 85 double mean = std::accumulate(u.begin(), u.end(), in main() local 92 double d = (u[i] - mean); in main() 107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 125 double mean = std::accumulate(u.begin(), u.end(), in main() local 132 double d = (u[i] - mean); in main() 147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 165 double mean = std::accumulate(u.begin(), u.end(), in main() local [all …]
|
D | eval_param.pass.cpp | 47 double mean = std::accumulate(u.begin(), u.end(), in main() local 54 double d = (u[i] - mean); in main() 69 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 89 double mean = std::accumulate(u.begin(), u.end(), in main() local 96 double d = (u[i] - mean); in main() 111 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 131 double mean = std::accumulate(u.begin(), u.end(), in main() local 138 double d = (u[i] - mean); in main() 153 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/ |
D | eval.pass.cpp | 45 double mean = std::accumulate(u.begin(), u.end(), in main() local 52 double d = (u[i] - mean); in main() 67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 85 double mean = std::accumulate(u.begin(), u.end(), in main() local 92 double d = (u[i] - mean); in main() 107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 125 double mean = std::accumulate(u.begin(), u.end(), in main() local 132 double d = (u[i] - mean); in main() 147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 165 double mean = std::accumulate(u.begin(), u.end(), in main() local [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/ |
D | eval.pass.cpp | 46 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 52 double d = (u[i] - mean); in main() 67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 86 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 92 double d = (u[i] - mean); in main() 107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 126 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 132 double d = (u[i] - mean); in main() 147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ |
D | eval.pass.cpp | 45 D::result_type mean = std::accumulate(u.begin(), u.end(), in main() local 52 D::result_type d = (u[i] - mean); in main() 67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 85 D::result_type mean = std::accumulate(u.begin(), u.end(), in main() local 92 D::result_type d = (u[i] - mean); in main() 107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 125 D::result_type mean = std::accumulate(u.begin(), u.end(), in main() local 132 D::result_type d = (u[i] - mean); in main() 147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 165 D::result_type mean = std::accumulate(u.begin(), u.end(), in main() local [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ |
D | eval_param.pass.cpp | 47 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 53 double d = (u[i] - mean); in main() 68 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 88 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 94 double d = (u[i] - mean); in main() 109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 129 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 135 double d = (u[i] - mean); in main() 150 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
D | eval.pass.cpp | 46 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 52 double d = (u[i] - mean); in main() 67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 86 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 92 double d = (u[i] - mean); in main() 107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 126 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 132 double d = (u[i] - mean); in main() 147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/ |
D | eval.pass.cpp | 46 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 52 double d = (u[i] - mean); in main() 67 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 86 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 92 double d = (u[i] - mean); in main() 107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 126 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 132 double d = (u[i] - mean); in main() 147 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
D | eval_param.pass.cpp | 47 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 53 double d = (u[i] - mean); in main() 68 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 88 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 94 double d = (u[i] - mean); in main() 109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 129 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 135 double d = (u[i] - mean); in main() 150 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/ |
D | eval.pass.cpp | 40 double mean = std::accumulate(u.begin(), u.end(), in main() local 47 double d = (u[i] - mean); in main() 62 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 76 double mean = std::accumulate(u.begin(), u.end(), in main() local 83 double d = (u[i] - mean); in main() 98 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
D | eval_param.pass.cpp | 42 double mean = std::accumulate(u.begin(), u.end(), in main() local 49 double d = (u[i] - mean); in main() 64 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 80 double mean = std::accumulate(u.begin(), u.end(), in main() local 87 double d = (u[i] - mean); in main() 102 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
D | eval.pass.cpp | 46 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 52 double d = (u[i] - mean); in main() 69 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 88 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 94 double d = (u[i] - mean); in main() 111 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 130 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local 136 double d = (u[i] - mean); in main() 153 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 172 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main() local [all …]
|