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.cpp67 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
107 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
147 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main() local
151 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
187 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main() local
191 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
227 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main() local
231 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
[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.cpp66 double x_skew = 1.139547; in main() local
70 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()
144 double x_skew = 1.139547; in main() local
148 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
183 double x_skew = 1.139547; in main() local
187 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval_param.pass.cpp67 double x_skew = 1.139547; in main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
107 double x_skew = 1.139547; in main() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
147 double x_skew = 1.139547; in main() local
151 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
187 double x_skew = 1.139547; in main() local
191 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.weibull/
Deval_param.pass.cpp68 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
72 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
76 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
113 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
117 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
121 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
158 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
162 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
166 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()
111 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.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()
155 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local
159 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
163 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 main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
107 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
147 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
151 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
187 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
225 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
229 assert(std::abs((skew - x_skew) / x_skew) < 0.04); in main()
265 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main() local
[all …]
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.exp/
Deval.pass.cpp67 double x_skew = 2; in main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
107 double x_skew = 2; in main() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
147 double x_skew = 2; in main() local
151 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.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()
105 double x_skew = 1 / std::sqrt(x_var); in main() local
109 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
144 double x_skew = 1 / std::sqrt(x_var); in main() local
148 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
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()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
Deval.pass.cpp67 double x_skew = 2 / std::sqrt(d.alpha()); in main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
107 double x_skew = 2 / std::sqrt(d.alpha()); in main() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
147 double x_skew = 2 / std::sqrt(d.alpha()); in main() local
151 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
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()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
Deval_param.pass.cpp68 double x_skew = std::sqrt(8 / p.n()); in main() local
72 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
109 double x_skew = std::sqrt(8 / p.n()); in main() local
113 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
150 double x_skew = std::sqrt(8 / p.n()); in main() local
154 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
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()
107 double x_skew = std::sqrt(8 / d.n()); in main() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
147 double x_skew = std::sqrt(8 / d.n()); in main() local
151 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_param.pass.cpp69 double x_skew = (std::exp(sqr(p.s())) + 2) * in main() local
75 assert(std::abs((skew - x_skew) / x_skew) < 0.05); in main()
112 double x_skew = (std::exp(sqr(p.s())) + 2) * in main() local
118 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
155 double x_skew = (std::exp(sqr(p.s())) + 2) * in main() local
161 assert(std::abs((skew - x_skew) / x_skew) < 0.02); in main()
198 double x_skew = (std::exp(sqr(p.s())) + 2) * in main() local
204 assert(std::abs((skew - x_skew) / x_skew) < 0.08); in main()
241 double x_skew = (std::exp(sqr(p.s())) + 2) * in main() local
247 assert(std::abs((skew - x_skew) / x_skew) < 0.2); in main()
Deval.pass.cpp67 double x_skew = (std::exp(sqr(d.s())) + 2) * in main() local
73 assert(std::abs((skew - x_skew) / x_skew) < 0.05); in main()
109 double x_skew = (std::exp(sqr(d.s())) + 2) * in main() local
115 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
151 double x_skew = (std::exp(sqr(d.s())) + 2) * in main() local
157 assert(std::abs((skew - x_skew) / x_skew) < 0.02); in main()
193 double x_skew = (std::exp(sqr(d.s())) + 2) * in main() local
199 assert(std::abs((skew - x_skew) / x_skew) < 0.08); in main()
235 double x_skew = (std::exp(sqr(d.s())) + 2) * in main() local
241 assert(std::abs((skew - x_skew) / x_skew) < 0.2); 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 main() local
71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
107 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
147 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main() local
151 assert(std::abs((skew - x_skew) / x_skew) < 0.03); in main()
279 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main() local
283 assert(std::abs(skew - x_skew) < 0.01); in main()
319 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main() local
323 assert(std::abs(skew - x_skew) < 0.01); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
Deval.pass.cpp67 double x_skew = 0; in main() local
72 assert(std::abs(skew - x_skew) < 0.01); in main()
108 double x_skew = 0; in main() local
113 assert(std::abs(skew - x_skew) < 0.01); in main()
149 double x_skew = 0; in main() local
154 assert(std::abs(skew - x_skew) < 0.01); in main()
190 double x_skew = 0; in main() local
195 assert(std::abs(skew - x_skew) < 0.01); in main()
231 double x_skew = 0; in main() local
236 assert(std::abs(skew - x_skew) < 0.01); in main()
[all …]
/external/libcxx/test/std/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/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
Deval.pass.cpp67 D::result_type x_skew = 0; in main() local
71 assert(std::abs(skew - x_skew) < 0.01); in main()
107 D::result_type x_skew = 0; in main() local
111 assert(std::abs(skew - x_skew) < 0.01); in main()
147 D::result_type x_skew = 0; in main() local
151 assert(std::abs(skew - x_skew) < 0.01); in main()
187 D::result_type x_skew = 0; in main() local
191 assert(std::abs(skew - x_skew) < 0.01); in main()
227 D::result_type x_skew = 0; in main() local
231 assert(std::abs(skew - x_skew) < 0.02); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
Deval.pass.cpp63 double x_skew = 0; in main() local
67 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()
135 double x_skew = 0; in main() local
139 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