Home
last modified time | relevance | path

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

12

/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
Deval.pass.cpp65 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main() local
69 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
105 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main() local
109 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
145 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main() local
149 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
185 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main() local
189 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
225 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main() local
229 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
[all …]
Deval_param.pass.cpp67 double x_skew = (2 - p.p()) / std::sqrt((1 - p.p())); in main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
109 double x_skew = (2 - p.p()) / std::sqrt((1 - p.p())); in main() local
113 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
151 double x_skew = (2 - p.p()) / std::sqrt((1 - p.p())); in main() local
155 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
Deval_param.pass.cpp65 double x_skew = 1.139547; in main() local
69 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
105 double x_skew = 1.139547; in main() local
109 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
145 double x_skew = 1.139547; in main() local
149 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
185 double x_skew = 1.139547; in main() local
189 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval.pass.cpp64 double x_skew = 1.139547; in main() local
68 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
103 double x_skew = 1.139547; in main() local
107 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
142 double x_skew = 1.139547; in main() local
146 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
181 double x_skew = 1.139547; in main() local
185 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/
Deval.pass.cpp65 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local
69 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
73 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
109 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local
113 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
117 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()
Deval_param.pass.cpp66 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
70 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
74 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
111 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
115 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
119 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
156 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
160 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
164 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Deval.pass.cpp65 double x_skew = 2; in main() local
69 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
105 double x_skew = 2; in main() local
109 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/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
Deval.pass.cpp64 double x_skew = 1 / std::sqrt(x_var); in main() local
68 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
103 double x_skew = 1 / std::sqrt(x_var); in main() local
107 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
142 double x_skew = 1 / std::sqrt(x_var); in main() local
146 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval_param.pass.cpp66 double x_skew = 1 / std::sqrt(x_var); in main() local
70 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
107 double x_skew = 1 / std::sqrt(x_var); in main() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
148 double x_skew = 1 / std::sqrt(x_var); in main() local
152 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
Deval.pass.cpp65 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
69 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
105 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
109 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
145 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
149 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
185 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
223 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
227 assert(std::abs((skew - x_skew) / x_skew) < 0.04); in main()
263 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
[all …]
Deval_param.pass.cpp67 double x_skew = (2 - p.p()) / std::sqrt(p.k() * (1 - p.p())); in main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
109 double x_skew = (2 - p.p()) / std::sqrt(p.k() * (1 - p.p())); in main() local
113 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
151 double x_skew = (2 - p.p()) / std::sqrt(p.k() * (1 - p.p())); in main() local
155 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
Deval_param.pass.cpp66 double x_skew = std::sqrt(8 / p.n()); in main() local
70 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
107 double x_skew = std::sqrt(8 / p.n()); in main() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
148 double x_skew = std::sqrt(8 / p.n()); in main() local
152 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval.pass.cpp65 double x_skew = std::sqrt(8 / d.n()); in main() local
69 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
105 double x_skew = std::sqrt(8 / d.n()); in main() local
109 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()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
Deval_param.pass.cpp66 double x_skew = 2 / std::sqrt(p.alpha()); in main() local
70 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
107 double x_skew = 2 / std::sqrt(p.alpha()); in main() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
148 double x_skew = 2 / std::sqrt(p.alpha()); in main() local
152 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval.pass.cpp65 double x_skew = 2 / std::sqrt(d.alpha()); in main() local
69 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()
145 double x_skew = 2 / std::sqrt(d.alpha()); in main() local
149 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
Deval_param.pass.cpp67 double x_skew = (std::exp(sqr(p.s())) + 2) * in main() local
73 assert(std::abs((skew - x_skew) / x_skew) < 0.05); in main()
110 double x_skew = (std::exp(sqr(p.s())) + 2) * in main() local
116 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
153 double x_skew = (std::exp(sqr(p.s())) + 2) * in main() local
159 assert(std::abs((skew - x_skew) / x_skew) < 0.02); in main()
196 double x_skew = (std::exp(sqr(p.s())) + 2) * in main() local
202 assert(std::abs((skew - x_skew) / x_skew) < 0.08); in main()
239 double x_skew = (std::exp(sqr(p.s())) + 2) * in main() local
245 assert(std::abs((skew - x_skew) / x_skew) < 0.2); in main()
Deval.pass.cpp65 double x_skew = (std::exp(sqr(d.s())) + 2) * in main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.05); in main()
107 double x_skew = (std::exp(sqr(d.s())) + 2) * in main() local
113 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
149 double x_skew = (std::exp(sqr(d.s())) + 2) * in main() local
155 assert(std::abs((skew - x_skew) / x_skew) < 0.02); in main()
191 double x_skew = (std::exp(sqr(d.s())) + 2) * in main() local
197 assert(std::abs((skew - x_skew) / x_skew) < 0.08); in main()
233 double x_skew = (std::exp(sqr(d.s())) + 2) * in main() local
239 assert(std::abs((skew - x_skew) / x_skew) < 0.2); in main()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
Deval_param.pass.cpp67 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
109 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() local
113 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
151 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main() local
155 assert(std::abs((skew - x_skew) / x_skew) < 0.04); in main()
Deval.pass.cpp65 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main() local
69 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
105 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main() local
109 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
145 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main() local
149 assert(std::abs((skew - x_skew) / x_skew) < 0.03); in main()
277 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main() local
281 assert(std::abs(skew - x_skew) < 0.01); in main()
317 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main() local
321 assert(std::abs(skew - x_skew) < 0.01); in main()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/
Deval.pass.cpp60 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var); in main() local
64 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
96 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var); in main() local
100 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval_param.pass.cpp62 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var); in main() local
66 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
100 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var); in main() local
104 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
Deval.pass.cpp65 double x_skew = 0; in main() local
70 assert(std::abs(skew - x_skew) < 0.01); in main()
106 double x_skew = 0; in main() local
111 assert(std::abs(skew - x_skew) < 0.01); in main()
147 double x_skew = 0; in main() local
152 assert(std::abs(skew - x_skew) < 0.01); in main()
188 double x_skew = 0; in main() local
193 assert(std::abs(skew - x_skew) < 0.01); in main()
229 double x_skew = 0; in main() local
234 assert(std::abs(skew - x_skew) < 0.01); in main()
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
Deval.pass.cpp65 D::result_type x_skew = 0; in main() local
69 assert(std::abs(skew - x_skew) < 0.01); in main()
105 D::result_type x_skew = 0; in main() local
109 assert(std::abs(skew - x_skew) < 0.01); in main()
145 D::result_type x_skew = 0; in main() local
149 assert(std::abs(skew - x_skew) < 0.01); in main()
185 D::result_type x_skew = 0; in main() local
189 assert(std::abs(skew - x_skew) < 0.01); in main()
225 D::result_type x_skew = 0; in main() local
229 assert(std::abs(skew - x_skew) < 0.02); in main()
[all …]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
Deval.pass.cpp61 double x_skew = 0; in main() local
65 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()
133 double x_skew = 0; in main() local
137 assert(std::abs(skew - x_skew) < 0.01); in main()
Deval_param.pass.cpp62 double x_skew = 0; in main() local
66 assert(std::abs(skew - x_skew) < 0.01); in main()
99 double x_skew = 0; in main() local
103 assert(std::abs(skew - x_skew) < 0.01); in main()
136 double x_skew = 0; in main() local
140 assert(std::abs(skew - x_skew) < 0.01); in main()

12