/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
D | eval.pass.cpp | 66 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); in main() local 68 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main() 69 (std::sqrt(x_var)*x_var); in main() 71 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 72 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3; in main() 74 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 109 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); in main() local 111 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main() 112 (std::sqrt(x_var)*x_var); in main() 114 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() [all …]
|
D | eval_param.pass.cpp | 68 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); in main() local 70 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main() 71 (std::sqrt(x_var)*x_var); in main() 73 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 74 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3; in main() 76 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 113 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); in main() local 115 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main() 116 (std::sqrt(x_var)*x_var); in main() 118 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
D | eval.pass.cpp | 67 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); in main() local 69 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main() 70 (std::sqrt(x_var)*x_var); in main() 72 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 73 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3; in main() 75 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 110 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); in main() local 112 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main() 113 (std::sqrt(x_var)*x_var); in main() 115 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() [all …]
|
D | eval_param.pass.cpp | 69 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); in main() local 71 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main() 72 (std::sqrt(x_var)*x_var); in main() 74 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 75 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3; in main() 77 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 114 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); in main() local 116 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main() 117 (std::sqrt(x_var)*x_var); in main() 119 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
D | eval.pass.cpp | 66 double x_var = x_mean*(1-d.p()); in test1() local 67 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test1() 68 double x_kurtosis = (1-6*d.p()*(1-d.p())) / x_var; in test1() 70 assert(std::abs((var - x_var) / x_var) < 0.01); in test1() 109 double x_var = x_mean*(1-d.p()); in test2() local 110 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test2() 111 double x_kurtosis = (1-6*d.p()*(1-d.p())) / x_var; in test2() 113 assert(std::abs((var - x_var) / x_var) < 0.01); in test2() 152 double x_var = x_mean*(1-d.p()); in test3() local 153 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test3() [all …]
|
D | eval_param.pass.cpp | 68 double x_var = x_mean*(1-p.p()); in main() local 69 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() 70 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main() 72 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 110 double x_var = x_mean*(1-p.p()); in main() local 111 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() 112 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main() 114 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 152 double x_var = x_mean*(1-p.p()); in main() local 153 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
D | eval.pass.cpp | 67 double x_var = x_mean*(1-d.p()); in test1() local 68 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test1() 69 double x_kurtosis = (1-6*d.p()*(1-d.p())) / x_var; in test1() 71 assert(std::abs((var - x_var) / x_var) < 0.01); in test1() 110 double x_var = x_mean*(1-d.p()); in test2() local 111 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test2() 112 double x_kurtosis = (1-6*d.p()*(1-d.p())) / x_var; in test2() 114 assert(std::abs((var - x_var) / x_var) < 0.01); in test2() 153 double x_var = x_mean*(1-d.p()); in test3() local 154 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test3() [all …]
|
D | eval_param.pass.cpp | 69 double x_var = x_mean*(1-p.p()); in main() local 70 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() 71 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main() 73 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 111 double x_var = x_mean*(1-p.p()); in main() local 112 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() 113 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main() 115 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 153 double x_var = x_mean*(1-p.p()); in main() local 154 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/ |
D | eval_param.pass.cpp | 68 double x_var = p.mean(); in main() local 69 double x_skew = 1 / std::sqrt(x_var); in main() 70 double x_kurtosis = 1 / x_var; in main() 72 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 109 double x_var = p.mean(); in main() local 110 double x_skew = 1 / std::sqrt(x_var); in main() 111 double x_kurtosis = 1 / x_var; in main() 113 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 150 double x_var = p.mean(); in main() local 151 double x_skew = 1 / std::sqrt(x_var); in main() [all …]
|
D | eval.pass.cpp | 127 double x_var = d.mean(); in main() local 128 double x_skew = 1 / std::sqrt(x_var); in main() 129 double x_kurtosis = 1 / x_var; in main() 131 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 166 double x_var = d.mean(); in main() local 167 double x_skew = 1 / std::sqrt(x_var); in main() 168 double x_kurtosis = 1 / x_var; in main() 170 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 205 double x_var = d.mean(); in main() local 206 double x_skew = 1 / std::sqrt(x_var); in main() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/ |
D | eval_param.pass.cpp | 67 double x_var = p.mean(); in main() local 68 double x_skew = 1 / std::sqrt(x_var); in main() 69 double x_kurtosis = 1 / x_var; in main() 71 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 108 double x_var = p.mean(); in main() local 109 double x_skew = 1 / std::sqrt(x_var); in main() 110 double x_kurtosis = 1 / x_var; in main() 112 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 149 double x_var = p.mean(); in main() local 150 double x_skew = 1 / std::sqrt(x_var); in main() [all …]
|
D | eval.pass.cpp | 127 double x_var = d.mean(); in main() local 128 double x_skew = 1 / std::sqrt(x_var); in main() 129 double x_kurtosis = 1 / x_var; in main() 131 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 166 double x_var = d.mean(); in main() local 167 double x_skew = 1 / std::sqrt(x_var); in main() 168 double x_kurtosis = 1 / x_var; in main() 170 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 205 double x_var = d.mean(); in main() local 206 double x_skew = 1 / std::sqrt(x_var); in main() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/ |
D | eval_param.pass.cpp | 63 double x_var = p.p()*(1-p.p()); in main() local 64 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var); in main() 65 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() 67 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 101 double x_var = p.p()*(1-p.p()); in main() local 102 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var); in main() 103 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() 105 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
|
D | eval.pass.cpp | 61 double x_var = d.p()*(1-d.p()); in main() local 62 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var); in main() 63 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() 65 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 97 double x_var = d.p()*(1-d.p()); in main() local 98 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var); in main() 99 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() 101 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/ |
D | eval.pass.cpp | 60 double x_var = d.p()*(1-d.p()); in main() local 61 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var); in main() 62 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() 64 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 96 double x_var = d.p()*(1-d.p()); in main() local 97 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var); in main() 98 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() 100 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
|
D | eval_param.pass.cpp | 62 double x_var = p.p()*(1-p.p()); in main() local 63 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var); in main() 64 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() 66 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 100 double x_var = p.p()*(1-p.p()); in main() local 101 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var); in main() 102 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() 104 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
D | eval.pass.cpp | 67 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local 72 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 108 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local 113 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 149 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local 154 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 190 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local 195 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 231 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local 236 assert(std::abs((var - x_var) / x_var) < 0.01); in main() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
D | eval.pass.cpp | 68 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local 73 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 109 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local 114 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 150 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local 155 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 191 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local 196 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 232 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local 237 assert(std::abs((var - x_var) / x_var) < 0.01); in main() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ |
D | eval.pass.cpp | 67 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local 71 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 107 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local 111 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 147 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local 151 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 187 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local 191 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 227 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local 231 assert(std::abs((var - x_var) / x_var) < 0.01); in main() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ |
D | eval.pass.cpp | 68 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local 72 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 108 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local 112 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 148 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local 152 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 188 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local 192 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 228 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local 232 assert(std::abs((var - x_var) / x_var) < 0.01); in main() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
D | eval.pass.cpp | 65 double x_var = sqr(d.b()) * 1.644934067; in test1() local 69 assert(std::abs((var - x_var) / x_var) < 0.01); in test1() 106 double x_var = sqr(d.b()) * 1.644934067; in test2() local 110 assert(std::abs((var - x_var) / x_var) < 0.01); in test2() 147 double x_var = sqr(d.b()) * 1.644934067; in test3() local 151 assert(std::abs((var - x_var) / x_var) < 0.01); in test3() 188 double x_var = sqr(d.b()) * 1.644934067; in test4() local 192 assert(std::abs((var - x_var) / x_var) < 0.01); in test4()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
D | eval.pass.cpp | 64 double x_var = sqr(d.b()) * 1.644934067; in test1() local 68 assert(std::abs((var - x_var) / x_var) < 0.01); in test1() 105 double x_var = sqr(d.b()) * 1.644934067; in test2() local 109 assert(std::abs((var - x_var) / x_var) < 0.01); in test2() 146 double x_var = sqr(d.b()) * 1.644934067; in test3() local 150 assert(std::abs((var - x_var) / x_var) < 0.01); in test3() 187 double x_var = sqr(d.b()) * 1.644934067; in test4() local 191 assert(std::abs((var - x_var) / x_var) < 0.01); in test4()
|
D | eval_param.pass.cpp | 66 double x_var = sqr(p.b()) * 1.644934067; in test1() local 70 assert(std::abs((var - x_var) / x_var) < 0.01); in test1() 109 double x_var = sqr(p.b()) * 1.644934067; in test2() local 113 assert(std::abs((var - x_var) / x_var) < 0.01); in test2() 152 double x_var = sqr(p.b()) * 1.644934067; in test3() local 156 assert(std::abs((var - x_var) / x_var) < 0.01); in test3() 195 double x_var = sqr(p.b()) * 1.644934067; in test4() local 199 assert(std::abs((var - x_var) / x_var) < 0.01); in test4()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
D | eval.pass.cpp | 80 double x_var = x_mean / d.p(); in test1() local 84 assert(std::abs((var - x_var) / x_var) < 0.01); in test1() 123 double x_var = x_mean / d.p(); in test2() local 127 assert(std::abs((var - x_var) / x_var) < 0.01); in test2() 166 double x_var = x_mean / d.p(); in test3() local 170 assert(std::abs((var - x_var) / x_var) < 0.01); in test3() 209 double x_var = x_mean / d.p(); in test4() local 213 assert(std::abs((var - x_var) / x_var) < 0.01); in test4() 252 double x_var = x_mean / d.p(); in test5() local 256 assert(std::abs((var - x_var) / x_var) < 0.01); in test5() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
D | eval.pass.cpp | 77 double x_var = x_mean / d.p(); in test1() local 81 assert(std::abs((var - x_var) / x_var) < 0.01); in test1() 120 double x_var = x_mean / d.p(); in test2() local 124 assert(std::abs((var - x_var) / x_var) < 0.01); in test2() 163 double x_var = x_mean / d.p(); in test3() local 167 assert(std::abs((var - x_var) / x_var) < 0.01); in test3() 206 double x_var = x_mean / d.p(); in test4() local 210 assert(std::abs((var - x_var) / x_var) < 0.01); in test4() 249 double x_var = x_mean / d.p(); in test5() local 253 assert(std::abs((var - x_var) / x_var) < 0.01); in test5() [all …]
|