/external/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
D | eval.pass.cpp | 66 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 71 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 107 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 148 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 153 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 189 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 194 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 230 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 235 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() [all …]
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ |
D | eval.pass.cpp | 66 D::result_type x_kurtosis = -6./5; in main() local 70 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 106 D::result_type x_kurtosis = -6./5; in main() local 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 146 D::result_type x_kurtosis = -6./5; in main() local 150 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 186 D::result_type x_kurtosis = -6./5; in main() local 190 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 226 D::result_type x_kurtosis = -6./5; in main() local 230 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() [all …]
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
D | eval.pass.cpp | 66 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main() local 70 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 106 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main() local 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 146 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main() local 150 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 186 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main() local 190 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 226 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main() local 230 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() [all …]
|
D | eval_param.pass.cpp | 68 double x_kurtosis = 6 + sqr(p.p()) / (1 - p.p()); in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 110 double x_kurtosis = 6 + sqr(p.p()) / (1 - p.p()); in main() local 114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 152 double x_kurtosis = 6 + sqr(p.p()) / (1 - p.p()); in main() local 156 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
D | eval_param.pass.cpp | 66 double x_kurtosis = 12./5; in main() local 70 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 106 double x_kurtosis = 12./5; in main() local 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 146 double x_kurtosis = 12./5; in main() local 150 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 186 double x_kurtosis = 12./5; in main() local 190 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
D | eval.pass.cpp | 65 double x_kurtosis = 12./5; in main() local 69 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 104 double x_kurtosis = 12./5; in main() local 108 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 143 double x_kurtosis = 12./5; in main() local 147 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 182 double x_kurtosis = 12./5; in main() local 186 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/ |
D | eval.pass.cpp | 62 double x_kurtosis = 6 / (d.n() - 4); in main() local 66 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.2); in main() 98 double x_kurtosis = 6 / (d.n() - 4); in main() local 102 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 134 double x_kurtosis = 6 / (d.n() - 4); in main() local 138 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
D | eval_param.pass.cpp | 63 double x_kurtosis = 6 / (p.n() - 4); in main() local 67 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.2); in main() 100 double x_kurtosis = 6 / (p.n() - 4); in main() local 104 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 137 double x_kurtosis = 6 / (p.n() - 4); in main() local 141 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/ |
D | eval.pass.cpp | 66 double x_kurtosis = 6; in main() local 70 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 106 double x_kurtosis = 6; in main() local 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 146 double x_kurtosis = 6; in main() local 150 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/ |
D | eval.pass.cpp | 65 double x_kurtosis = 1 / x_var; in main() local 69 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 104 double x_kurtosis = 1 / x_var; in main() local 108 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 143 double x_kurtosis = 1 / x_var; in main() local 147 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
D | eval_param.pass.cpp | 67 double x_kurtosis = 1 / x_var; in main() local 71 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 108 double x_kurtosis = 1 / x_var; in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 149 double x_kurtosis = 1 / x_var; in main() local 153 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/ |
D | eval.pass.cpp | 66 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local 70 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 106 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 146 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local 150 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 186 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local 224 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local 228 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.05); in main() 264 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local [all …]
|
D | eval_param.pass.cpp | 68 double x_kurtosis = 6. / p.k() + sqr(p.p()) / (p.k() * (1 - p.p())); in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 110 double x_kurtosis = 6. / p.k() + sqr(p.p()) / (p.k() * (1 - p.p())); in main() local 114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 152 double x_kurtosis = 6. / p.k() + sqr(p.p()) / (p.k() * (1 - p.p())); in main() local 156 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ |
D | eval_param.pass.cpp | 67 double x_kurtosis = 12 / p.n(); in main() local 71 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 108 double x_kurtosis = 12 / p.n(); in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 149 double x_kurtosis = 12 / p.n(); in main() local 153 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
D | eval.pass.cpp | 66 double x_kurtosis = 12 / d.n(); in main() local 70 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 106 double x_kurtosis = 12 / d.n(); in main() local 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 146 double x_kurtosis = 12 / d.n(); in main() local 150 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/ |
D | eval_param.pass.cpp | 67 double x_kurtosis = 6 / p.alpha(); in main() local 71 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 108 double x_kurtosis = 6 / p.alpha(); in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 149 double x_kurtosis = 6 / p.alpha(); in main() local 153 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
D | eval.pass.cpp | 66 double x_kurtosis = 6 / d.alpha(); in main() local 70 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 106 double x_kurtosis = 6 / d.alpha(); in main() local 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 146 double x_kurtosis = 6 / d.alpha(); in main() local 150 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
D | eval_param.pass.cpp | 69 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main() local 74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.25); in main() 112 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main() local 117 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 155 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main() local 160 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.05); in main() 198 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main() local 203 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.4); in main() 241 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main() local 246 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.7); in main()
|
D | eval.pass.cpp | 67 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.25); in main() 109 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main() local 114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 151 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main() local 156 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.05); in main() 193 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main() local 198 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.4); in main() 235 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main() local 240 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.7); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
D | eval_param.pass.cpp | 68 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 110 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main() local 114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 152 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main() local 156 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.3); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
D | eval.pass.cpp | 85 double x_kurtosis = -6./5; in main() local 89 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 145 double x_kurtosis = -6./5; in main() local 149 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 205 double x_kurtosis = -6./5; in main() local 209 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 265 double x_kurtosis = -6./5; in main() local 269 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 325 double x_kurtosis = -6./5; in main() local 329 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() [all …]
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/ |
D | eval.pass.cpp | 61 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() local 65 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 97 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() local 101 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
D | eval_param.pass.cpp | 63 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() local 67 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 101 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() local 105 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
D | eval.pass.cpp | 68 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - in main() local 74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 112 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - in main() local 118 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 156 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - in main() local 162 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
|
D | eval_param.pass.cpp | 69 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - in main() local 75 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 114 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - in main() local 120 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 159 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - in main() local 165 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
|