Home
last modified time | relevance | path

Searched refs:x_skew (Results 1 – 25 of 32) sorted by relevance

12

/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
Deval.pass.cpp81 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test1() local
85 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1()
124 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test2() local
128 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
167 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test3() local
171 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3()
210 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test4() local
214 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4()
253 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test5() local
257 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test5()
[all …]
Deval_param.pass.cpp69 double x_skew = (2 - p.p()) / std::sqrt((1 - p.p())); in main() local
73 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
111 double x_skew = (2 - p.p()) / std::sqrt((1 - p.p())); in main() local
115 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
153 double x_skew = (2 - p.p()) / std::sqrt((1 - p.p())); in main() local
157 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
Deval.pass.cpp65 double x_skew = 1.139547; in test1() local
69 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1()
106 double x_skew = 1.139547; in test2() local
110 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
147 double x_skew = 1.139547; in test3() local
151 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3()
188 double x_skew = 1.139547; in test4() local
192 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4()
Deval_param.pass.cpp67 double x_skew = 1.139547; in test1() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1()
110 double x_skew = 1.139547; in test2() local
114 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
153 double x_skew = 1.139547; in test3() local
157 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3()
196 double x_skew = 1.139547; in test4() local
200 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/
Deval_param.pass.cpp69 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
73 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
77 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
114 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
118 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
122 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
159 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
163 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
167 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval.pass.cpp67 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local
71 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
75 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
110 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local
114 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
118 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
153 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local
157 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
161 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
Deval.pass.cpp66 double x_skew = (std::exp(sqr(d.s())) + 2) * in test1() local
72 assert(std::abs((skew - x_skew) / x_skew) < 0.05); in test1()
110 double x_skew = (std::exp(sqr(d.s())) + 2) * in test2() local
116 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
154 double x_skew = (std::exp(sqr(d.s())) + 2) * in test3() local
160 assert(std::abs((skew - x_skew) / x_skew) < 0.02); in test3()
198 double x_skew = (std::exp(sqr(d.s())) + 2) * in test4() local
204 assert(std::abs((skew - x_skew) / x_skew) < 0.08); in test4()
242 double x_skew = (std::exp(sqr(d.s())) + 2) * in test5() local
248 assert(std::abs((skew - x_skew) / x_skew) < 0.2); in test5()
Deval_param.pass.cpp68 double x_skew = (std::exp(sqr(p.s())) + 2) * in test1() local
74 assert(std::abs((skew - x_skew) / x_skew) < 0.05); in test1()
114 double x_skew = (std::exp(sqr(p.s())) + 2) * in test2() local
120 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
160 double x_skew = (std::exp(sqr(p.s())) + 2) * in test3() local
166 assert(std::abs((skew - x_skew) / x_skew) < 0.02); in test3()
206 double x_skew = (std::exp(sqr(p.s())) + 2) * in test4() local
212 assert(std::abs((skew - x_skew) / x_skew) < 0.08); in test4()
252 double x_skew = (std::exp(sqr(p.s())) + 2) * in test5() local
258 assert(std::abs((skew - x_skew) / x_skew) < 0.2); in test5()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
Deval.pass.cpp67 double x_skew = std::sqrt(8 / d.n()); in main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
106 double x_skew = std::sqrt(8 / d.n()); in main() local
110 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
145 double x_skew = std::sqrt(8 / d.n()); in main() local
149 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval_param.pass.cpp69 double x_skew = std::sqrt(8 / p.n()); in main() local
73 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
110 double x_skew = std::sqrt(8 / p.n()); in main() local
114 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
151 double x_skew = std::sqrt(8 / p.n()); in main() local
155 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Deval.pass.cpp67 double x_skew = 2; in main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
106 double x_skew = 2; in main() local
110 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
145 double x_skew = 2; in main() local
149 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
Deval.pass.cpp67 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in test1() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1()
110 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in test2() local
114 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
153 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in test3() local
157 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3()
237 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in test5() local
241 assert(std::abs((skew - x_skew) / x_skew) < 0.04); in test5()
280 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in test6() local
284 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test6()
Deval_param.pass.cpp69 double x_skew = (2 - p.p()) / std::sqrt(p.k() * (1 - p.p())); in main() local
73 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
111 double x_skew = (2 - p.p()) / std::sqrt(p.k() * (1 - p.p())); in main() local
115 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
153 double x_skew = (2 - p.p()) / std::sqrt(p.k() * (1 - p.p())); in main() local
157 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
Deval_param.pass.cpp68 double x_skew = 2 / std::sqrt(p.alpha()); in main() local
72 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
109 double x_skew = 2 / std::sqrt(p.alpha()); in main() local
113 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
150 double x_skew = 2 / std::sqrt(p.alpha()); in main() local
154 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval.pass.cpp66 double x_skew = 2 / std::sqrt(d.alpha()); in main() local
70 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
105 double x_skew = 2 / std::sqrt(d.alpha()); in main() local
109 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
144 double x_skew = 2 / std::sqrt(d.alpha()); in main() local
148 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
Deval_param.pass.cpp68 double x_skew = 1 / std::sqrt(x_var); in main() local
72 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
109 double x_skew = 1 / std::sqrt(x_var); in main() local
113 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
150 double x_skew = 1 / std::sqrt(x_var); in main() local
154 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval.pass.cpp128 double x_skew = 1 / std::sqrt(x_var); in main() local
132 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
167 double x_skew = 1 / std::sqrt(x_var); in main() local
171 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
206 double x_skew = 1 / std::sqrt(x_var); in main() local
210 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
Deval_param.pass.cpp69 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() local
73 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
111 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() local
115 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
153 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() local
157 assert(std::abs((skew - x_skew) / x_skew) < 0.04); in main()
Deval.pass.cpp67 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test1() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1()
110 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test2() local
114 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
153 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test3() local
157 assert(std::abs((skew - x_skew) / x_skew) < 0.03); in test3()
294 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test6() local
298 assert(std::abs(skew - x_skew) < 0.01); in test6()
337 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in test7() local
341 assert(std::abs(skew - x_skew) < 0.01); in test7()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
Deval.pass.cpp68 double x_skew = 0; in main() local
73 assert(std::abs(skew - x_skew) < 0.01); in main()
109 double x_skew = 0; in main() local
114 assert(std::abs(skew - x_skew) < 0.01); in main()
150 double x_skew = 0; in main() local
155 assert(std::abs(skew - x_skew) < 0.01); in main()
191 double x_skew = 0; in main() local
196 assert(std::abs(skew - x_skew) < 0.01); in main()
232 double x_skew = 0; in main() local
237 assert(std::abs(skew - x_skew) < 0.01); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
Deval.pass.cpp68 D::result_type x_skew = 0; in main() local
72 assert(std::abs(skew - x_skew) < 0.01); in main()
108 D::result_type x_skew = 0; in main() local
112 assert(std::abs(skew - x_skew) < 0.01); in main()
148 D::result_type x_skew = 0; in main() local
152 assert(std::abs(skew - x_skew) < 0.01); in main()
188 D::result_type x_skew = 0; in main() local
192 assert(std::abs(skew - x_skew) < 0.01); in main()
228 D::result_type x_skew = 0; in main() local
232 assert(std::abs(skew - x_skew) < 0.02); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/
Deval.pass.cpp61 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var); in main() local
65 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
97 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var); in main() local
101 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval_param.pass.cpp63 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var); in main() local
67 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
101 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var); in main() local
105 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
Deval.pass.cpp62 double x_skew = 0; in main() local
66 assert(std::abs(skew - x_skew) < 0.01); in main()
97 double x_skew = 0; in main() local
101 assert(std::abs(skew - x_skew) < 0.01); in main()
132 double x_skew = 0; in main() local
136 assert(std::abs(skew - x_skew) < 0.01); in main()
Deval_param.pass.cpp64 double x_skew = 0; in main() local
68 assert(std::abs(skew - x_skew) < 0.01); in main()
101 double x_skew = 0; in main() local
105 assert(std::abs(skew - x_skew) < 0.01); in main()
138 double x_skew = 0; in main() local
142 assert(std::abs(skew - x_skew) < 0.01); in main()

12