HomeSort by relevance Sort by last modified time
    Searched full:x_mean (Results 1 - 25 of 33) sorted by null

1 2

  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/
eval.pass.cpp 63 double x_mean = d.b() * std::tgamma(1 + 1/d.a()); local
64 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean);
66 3*x_mean*x_var - sqr(x_mean)*x_mean) /
69 4*x_skew*x_var*sqrt(x_var)*x_mean -
70 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3;
71 assert(std::abs((mean - x_mean) / x_mean) < 0.01)
107 double x_mean = d.b() * std::tgamma(1 + 1\/d.a()); local
151 double x_mean = d.b() * std::tgamma(1 + 1\/d.a()); local
    [all...]
eval_param.pass.cpp 64 double x_mean = p.b() * std::tgamma(1 + 1/p.a()); local
65 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean);
67 3*x_mean*x_var - sqr(x_mean)*x_mean) /
70 4*x_skew*x_var*sqrt(x_var)*x_mean -
71 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3;
72 assert(std::abs((mean - x_mean) / x_mean) < 0.01)
109 double x_mean = p.b() * std::tgamma(1 + 1\/p.a()); local
154 double x_mean = p.b() * std::tgamma(1 + 1\/p.a()); local
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
eval.pass.cpp 63 double x_mean = d.t() * d.p(); local
64 double x_var = x_mean*(1-d.p());
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
103 double x_mean = d.t() * d.p(); local
104 double x_var = x_mean*(1-d.p());
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
143 double x_mean = d.t() * d.p(); local
144 double x_var = x_mean*(1-d.p())
183 double x_mean = d.t() * d.p(); local
221 double x_mean = d.t() * d.p(); local
259 double x_mean = d.t() * d.p(); local
    [all...]
eval_param.pass.cpp 65 double x_mean = p.t() * p.p(); local
66 double x_var = x_mean*(1-p.p());
69 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
107 double x_mean = p.t() * p.p(); local
108 double x_var = x_mean*(1-p.p());
111 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
149 double x_mean = p.t() * p.p(); local
150 double x_var = x_mean*(1-p.p())
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
eval.pass.cpp 63 double x_mean = (1 - d.p()) / d.p(); local
64 double x_var = x_mean / d.p();
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
103 double x_mean = (1 - d.p()) / d.p(); local
104 double x_var = x_mean / d.p();
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
143 double x_mean = (1 - d.p()) / d.p(); local
144 double x_var = x_mean / d.p()
183 double x_mean = (1 - d.p()) \/ d.p(); local
223 double x_mean = (1 - d.p()) \/ d.p(); local
263 double x_mean = (1 - d.p()) \/ d.p(); local
    [all...]
eval_param.pass.cpp 65 double x_mean = (1 - p.p()) / p.p(); local
66 double x_var = x_mean / p.p();
69 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
107 double x_mean = (1 - p.p()) / p.p(); local
108 double x_var = x_mean / p.p();
111 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
149 double x_mean = (1 - p.p()) / p.p(); local
150 double x_var = x_mean / p.p()
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
eval.pass.cpp 63 double x_mean = d.k() * (1 - d.p()) / d.p(); local
64 double x_var = x_mean / d.p();
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
103 double x_mean = d.k() * (1 - d.p()) / d.p(); local
104 double x_var = x_mean / d.p();
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
143 double x_mean = d.k() * (1 - d.p()) / d.p(); local
144 double x_var = x_mean / d.p()
183 double x_mean = d.k() * (1 - d.p()) \/ d.p(); local
221 double x_mean = d.k() * (1 - d.p()) \/ d.p(); local
261 double x_mean = d.k() * (1 - d.p()) \/ d.p(); local
    [all...]
eval_param.pass.cpp 65 double x_mean = p.k() * (1 - p.p()) / p.p(); local
66 double x_var = x_mean / p.p();
69 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
107 double x_mean = p.k() * (1 - p.p()) / p.p(); local
108 double x_var = x_mean / p.p();
111 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
149 double x_mean = p.k() * (1 - p.p()) / p.p(); local
150 double x_var = x_mean / p.p()
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
eval.pass.cpp 62 double x_mean = d.a() + d.b() * 0.577215665; local
66 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
101 double x_mean = d.a() + d.b() * 0.577215665; local
105 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
140 double x_mean = d.a() + d.b() * 0.577215665; local
144 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
179 double x_mean = d.a() + d.b() * 0.577215665 local
    [all...]
eval_param.pass.cpp 63 double x_mean = p.a() + p.b() * 0.577215665; local
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
103 double x_mean = p.a() + p.b() * 0.577215665; local
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
143 double x_mean = p.a() + p.b() * 0.577215665; local
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
183 double x_mean = p.a() + p.b() * 0.577215665 local
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
eval.pass.cpp 63 double x_mean = d.n(); local
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
103 double x_mean = d.n(); local
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
143 double x_mean = d.n(); local
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
eval_param.pass.cpp 64 double x_mean = p.n(); local
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
105 double x_mean = p.n(); local
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
146 double x_mean = p.n(); local
150 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
eval.pass.cpp 63 double x_mean = 1/d.lambda(); local
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
103 double x_mean = 1/d.lambda(); local
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
143 double x_mean = 1/d.lambda(); local
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
eval_param.pass.cpp 64 double x_mean = 1/p.lambda(); local
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
eval.pass.cpp 63 double x_mean = d.alpha() * d.beta(); local
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
103 double x_mean = d.alpha() * d.beta(); local
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
143 double x_mean = d.alpha() * d.beta(); local
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
eval_param.pass.cpp 64 double x_mean = p.alpha() * p.beta(); local
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
105 double x_mean = p.alpha() * p.beta(); local
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
146 double x_mean = p.alpha() * p.beta(); local
150 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
eval.pass.cpp 62 double x_mean = d.mean(); local
66 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
101 double x_mean = d.mean(); local
105 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
140 double x_mean = d.mean(); local
144 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
eval_param.pass.cpp 64 double x_mean = p.mean(); local
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
105 double x_mean = p.mean(); local
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
146 double x_mean = p.mean(); local
150 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
eval.pass.cpp 63 double x_mean = std::exp(d.m() + sqr(d.s())/2); local
69 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
105 double x_mean = std::exp(d.m() + sqr(d.s())/2); local
111 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
147 double x_mean = std::exp(d.m() + sqr(d.s())/2); local
153 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
189 double x_mean = std::exp(d.m() + sqr(d.s())/2) local
231 double x_mean = std::exp(d.m() + sqr(d.s())\/2); local
    [all...]
eval_param.pass.cpp 65 double x_mean = std::exp(p.m() + sqr(p.s())/2); local
71 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
108 double x_mean = std::exp(p.m() + sqr(p.s())/2); local
114 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
151 double x_mean = std::exp(p.m() + sqr(p.s())/2); local
157 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
194 double x_mean = std::exp(p.m() + sqr(p.s())/2) local
237 double x_mean = std::exp(p.m() + sqr(p.s())\/2); local
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
eval.pass.cpp 63 D::result_type x_mean = (d.a() + d.b()) / 2; local
67 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
103 D::result_type x_mean = (d.a() + d.b()) / 2;
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
143 D::result_type x_mean = (d.a() + d.b()) / 2;
147 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
183 D::result_type x_mean = (d.a() + d.b()) / 2
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
eval.pass.cpp 63 double x_mean = ((double)d.a() + d.b()) / 2; local
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
104 double x_mean = ((double)d.a() + d.b()) / 2;
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
145 double x_mean = ((double)d.a() + d.b()) / 2;
150 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
186 double x_mean = ((double)d.a() + d.b()) / 2
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/
eval.pass.cpp 59 double x_mean = d.mean(); local
63 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
eval_param.pass.cpp 60 double x_mean = p.mean(); local
64 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
eval.pass.cpp 82 double x_mean = (b[i+1] + b[i]) / 2;
86 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
142 double x_mean = (b[i+1] + b[i]) / 2;
146 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
202 double x_mean = (b[i+1] + b[i]) / 2;
206 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
262 double x_mean = (b[i+1] + b[i]) / 2
    [all...]

Completed in 665 milliseconds

1 2