Home
last modified time | relevance | path

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

12

/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/
Deval_param.pass.cpp65 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); in main() local
67 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main()
68 (std::sqrt(x_var)*x_var); in main()
70 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
71 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3; in main()
73 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
110 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); in main() local
112 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main()
113 (std::sqrt(x_var)*x_var); in main()
115 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
[all …]
Deval.pass.cpp64 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); in main() local
66 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main()
67 (std::sqrt(x_var)*x_var); in main()
69 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
70 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3; in main()
72 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
108 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); in main() local
110 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main()
111 (std::sqrt(x_var)*x_var); in main()
113 4*x_skew*x_var*sqrt(x_var)*x_mean - in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
Deval.pass.cpp64 double x_var = x_mean*(1-d.p()); in main() local
65 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main()
66 double x_kurtosis = (1-6*d.p()*(1-d.p())) / x_var; in main()
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
104 double x_var = x_mean*(1-d.p()); in main() local
105 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main()
106 double x_kurtosis = (1-6*d.p()*(1-d.p())) / x_var; in main()
108 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
144 double x_var = x_mean*(1-d.p()); in main() local
145 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main()
[all …]
Deval_param.pass.cpp66 double x_var = x_mean*(1-p.p()); in main() local
67 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main()
68 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main()
70 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
108 double x_var = x_mean*(1-p.p()); in main() local
109 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main()
110 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main()
112 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
150 double x_var = x_mean*(1-p.p()); in main() local
151 double x_skew = (1-2*p.p()) / std::sqrt(x_var); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
Deval.pass.cpp63 double x_var = d.mean(); in main() local
64 double x_skew = 1 / std::sqrt(x_var); in main()
65 double x_kurtosis = 1 / x_var; in main()
67 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
102 double x_var = d.mean(); in main() local
103 double x_skew = 1 / std::sqrt(x_var); in main()
104 double x_kurtosis = 1 / x_var; in main()
106 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
141 double x_var = d.mean(); in main() local
142 double x_skew = 1 / std::sqrt(x_var); in main()
[all …]
Deval_param.pass.cpp65 double x_var = p.mean(); in main() local
66 double x_skew = 1 / std::sqrt(x_var); in main()
67 double x_kurtosis = 1 / x_var; in main()
69 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
106 double x_var = p.mean(); in main() local
107 double x_skew = 1 / std::sqrt(x_var); in main()
108 double x_kurtosis = 1 / x_var; in main()
110 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
147 double x_var = p.mean(); in main() local
148 double x_skew = 1 / std::sqrt(x_var); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/
Deval.pass.cpp59 double x_var = d.p()*(1-d.p()); in main() local
60 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var); in main()
61 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main()
63 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
95 double x_var = d.p()*(1-d.p()); in main() local
96 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var); in main()
97 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main()
99 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
Deval_param.pass.cpp61 double x_var = p.p()*(1-p.p()); in main() local
62 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var); in main()
63 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main()
65 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
99 double x_var = p.p()*(1-p.p()); in main() local
100 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var); in main()
101 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main()
103 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
Deval.pass.cpp60 double x_var = d.n() / (d.n() - 2); in main() local
64 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
96 double x_var = d.n() / (d.n() - 2); in main() local
100 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
132 double x_var = d.n() / (d.n() - 2); in main() local
136 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
Deval_param.pass.cpp61 double x_var = p.n() / (p.n() - 2); in main() local
65 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
98 double x_var = p.n() / (p.n() - 2); in main() local
102 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
135 double x_var = p.n() / (p.n() - 2); in main() local
139 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
Deval.pass.cpp64 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local
69 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
105 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local
110 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
146 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local
151 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
187 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local
192 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
228 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() local
233 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
Deval.pass.cpp63 double x_var = sqr(d.b()) * 1.644934067; in main() local
67 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
102 double x_var = sqr(d.b()) * 1.644934067; in main() local
106 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
141 double x_var = sqr(d.b()) * 1.644934067; in main() local
145 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
180 double x_var = sqr(d.b()) * 1.644934067; in main() local
184 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
Deval_param.pass.cpp64 double x_var = sqr(p.b()) * 1.644934067; in main() local
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
104 double x_var = sqr(p.b()) * 1.644934067; in main() local
108 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
144 double x_var = sqr(p.b()) * 1.644934067; in main() local
148 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
184 double x_var = sqr(p.b()) * 1.644934067; in main() local
188 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
Deval.pass.cpp64 double x_var = x_mean / d.p(); in main() local
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
104 double x_var = x_mean / d.p(); in main() local
108 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
144 double x_var = x_mean / d.p(); in main() local
148 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
184 double x_var = x_mean / d.p(); in main() local
188 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
224 double x_var = x_mean / d.p(); in main() local
228 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
[all …]
Deval_param.pass.cpp66 double x_var = x_mean / p.p(); in main() local
70 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
108 double x_var = x_mean / p.p(); in main() local
112 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
150 double x_var = x_mean / p.p(); in main() local
154 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Deval.pass.cpp64 double x_var = 1/sqr(d.lambda()); in main() local
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
104 double x_var = 1/sqr(d.lambda()); in main() local
108 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
144 double x_var = 1/sqr(d.lambda()); in main() local
148 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
Deval.pass.cpp64 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
104 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local
108 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
144 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local
148 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
184 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local
188 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
224 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() local
228 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
Deval.pass.cpp64 double x_var = x_mean / d.p(); in main() local
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
104 double x_var = x_mean / d.p(); in main() local
108 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
144 double x_var = x_mean / d.p(); in main() local
148 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
184 double x_var = x_mean / d.p(); in main() local
188 assert(var == x_var); in main()
222 double x_var = x_mean / d.p(); in main() local
226 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
[all …]
Deval_param.pass.cpp66 double x_var = x_mean / p.p(); in main() local
70 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
108 double x_var = x_mean / p.p(); in main() local
112 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
150 double x_var = x_mean / p.p(); in main() local
154 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
Deval_param.pass.cpp65 double x_var = 2 * p.n(); in main() local
69 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
106 double x_var = 2 * p.n(); in main() local
110 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
147 double x_var = 2 * p.n(); in main() local
151 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
Deval.pass.cpp64 double x_var = 2 * d.n(); in main() local
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
104 double x_var = 2 * d.n(); in main() local
108 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
144 double x_var = 2 * d.n(); in main() local
148 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
Deval.pass.cpp64 double x_var = d.alpha() * sqr(d.beta()); in main() local
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
104 double x_var = d.alpha() * sqr(d.beta()); in main() local
108 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
144 double x_var = d.alpha() * sqr(d.beta()); in main() local
148 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
Deval_param.pass.cpp65 double x_var = p.alpha() * sqr(p.beta()); in main() local
69 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
106 double x_var = p.alpha() * sqr(p.beta()); in main() local
110 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
147 double x_var = p.alpha() * sqr(p.beta()); in main() local
151 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
Deval.pass.cpp64 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); in main() local
70 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
106 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); in main() local
112 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
148 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); in main() local
154 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
190 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); in main() local
196 assert(std::abs((var - x_var) / x_var) < 0.02); in main()
232 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); in main() local
238 assert(std::abs((var - x_var) / x_var) < 0.04); in main()
Deval_param.pass.cpp66 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); in main() local
72 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
109 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); in main() local
115 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
152 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); in main() local
158 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
195 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); in main() local
201 assert(std::abs((var - x_var) / x_var) < 0.02); in main()
238 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); in main() local
244 assert(std::abs((var - x_var) / x_var) < 0.04); in main()

12