Home
last modified time | relevance | path

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

123

/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/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
Deval.pass.cpp66 double x_skew = 1.139547; in test1() local
70 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1()
107 double x_skew = 1.139547; in test2() local
111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
148 double x_skew = 1.139547; in test3() local
152 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3()
189 double x_skew = 1.139547; in test4() local
193 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4()
Deval_param.pass.cpp68 double x_skew = 1.139547; in test1() local
72 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1()
111 double x_skew = 1.139547; in test2() local
115 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
154 double x_skew = 1.139547; in test3() local
158 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3()
197 double x_skew = 1.139547; in test4() local
201 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4()
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
Deval.pass.cpp78 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test1() local
82 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1()
121 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test2() local
125 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
164 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test3() local
168 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3()
207 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test4() local
211 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4()
250 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test5() local
254 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test5()
[all …]
/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 …]
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/
Deval.pass.cpp68 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.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()
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()
154 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local
158 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
162 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval_param.pass.cpp70 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
74 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
78 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
115 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
119 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
123 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
160 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local
164 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
168 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.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/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Deval.pass.cpp68 double x_skew = 2; in main() local
72 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()
146 double x_skew = 2; in main() local
150 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.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/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
Deval.pass.cpp68 double x_skew = std::sqrt(8 / d.n()); in main() local
72 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()
146 double x_skew = std::sqrt(8 / d.n()); in main() local
150 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
Deval_param.pass.cpp70 double x_skew = std::sqrt(8 / p.n()); in main() local
74 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
111 double x_skew = std::sqrt(8 / p.n()); in main() local
115 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
152 double x_skew = std::sqrt(8 / p.n()); in main() local
156 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/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
Deval.pass.cpp67 double x_skew = (std::exp(sqr(d.s())) + 2) * in test1() local
73 assert(std::abs((skew - x_skew) / x_skew) < 0.05); in test1()
111 double x_skew = (std::exp(sqr(d.s())) + 2) * in test2() local
117 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2()
155 double x_skew = (std::exp(sqr(d.s())) + 2) * in test3() local
161 assert(std::abs((skew - x_skew) / x_skew) < 0.02); in test3()
199 double x_skew = (std::exp(sqr(d.s())) + 2) * in test4() local
205 assert(std::abs((skew - x_skew) / x_skew) < 0.08); in test4()
243 double x_skew = (std::exp(sqr(d.s())) + 2) * in test5() local
249 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.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/llvm-project/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()
106 double x_skew = 2 / std::sqrt(d.alpha()); in main() local
110 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()
Deval_param.pass.cpp69 double x_skew = 2 / std::sqrt(p.alpha()); in main() local
73 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
110 double x_skew = 2 / std::sqrt(p.alpha()); in main() local
114 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
151 double x_skew = 2 / std::sqrt(p.alpha()); 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.gamma/
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()
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/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
Deval_param.pass.cpp69 double x_skew = 1 / std::sqrt(x_var); in main() local
73 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
110 double x_skew = 1 / std::sqrt(x_var); in main() local
114 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
151 double x_skew = 1 / std::sqrt(x_var); 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.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()

123