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

1 2 3

  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/
eval.pass.cpp 65 double x_mean = d.b() * std::tgamma(1 + 1/d.a()); local
66 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean);
68 3*x_mean*x_var - sqr(x_mean)*x_mean) /
71 4*x_skew*x_var*sqrt(x_var)*x_mean -
72 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3;
73 assert(std::abs((mean - x_mean) / x_mean) < 0.01)
109 double x_mean = d.b() * std::tgamma(1 + 1\/d.a()); local
153 double x_mean = d.b() * std::tgamma(1 + 1\/d.a()); local
    [all...]
eval_param.pass.cpp 66 double x_mean = p.b() * std::tgamma(1 + 1/p.a()); local
67 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean);
69 3*x_mean*x_var - sqr(x_mean)*x_mean) /
72 4*x_skew*x_var*sqrt(x_var)*x_mean -
73 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3;
74 assert(std::abs((mean - x_mean) / x_mean) < 0.01)
111 double x_mean = p.b() * std::tgamma(1 + 1\/p.a()); local
156 double x_mean = p.b() * std::tgamma(1 + 1\/p.a()); local
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/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...]
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
eval.pass.cpp 65 double x_mean = (1 - d.p()) / d.p(); local
66 double x_var = x_mean / d.p();
69 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
105 double x_mean = (1 - d.p()) / d.p(); local
106 double x_var = x_mean / d.p();
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
145 double x_mean = (1 - d.p()) / d.p(); local
146 double x_var = x_mean / d.p()
185 double x_mean = (1 - d.p()) \/ d.p(); local
225 double x_mean = (1 - d.p()) \/ d.p(); local
265 double x_mean = (1 - d.p()) \/ d.p(); local
    [all...]
eval_param.pass.cpp 67 double x_mean = (1 - p.p()) / p.p(); local
68 double x_var = x_mean / p.p();
71 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
109 double x_mean = (1 - p.p()) / p.p(); local
110 double x_var = x_mean / p.p();
113 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
151 double x_mean = (1 - p.p()) / p.p(); local
152 double x_var = x_mean / p.p()
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/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...]
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
eval.pass.cpp 65 double x_mean = d.k() * (1 - d.p()) / d.p(); local
66 double x_var = x_mean / d.p();
69 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
105 double x_mean = d.k() * (1 - d.p()) / d.p(); local
106 double x_var = x_mean / d.p();
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
145 double x_mean = d.k() * (1 - d.p()) / d.p(); local
146 double x_var = x_mean / d.p()
185 double x_mean = d.k() * (1 - d.p()) \/ d.p(); local
223 double x_mean = d.k() * (1 - d.p()) \/ d.p(); local
263 double x_mean = d.k() * (1 - d.p()) \/ d.p(); local
    [all...]
eval_param.pass.cpp 67 double x_mean = p.k() * (1 - p.p()) / p.p(); local
68 double x_var = x_mean / p.p();
71 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
109 double x_mean = p.k() * (1 - p.p()) / p.p(); local
110 double x_var = x_mean / p.p();
113 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
151 double x_mean = p.k() * (1 - p.p()) / p.p(); local
152 double x_var = x_mean / p.p()
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/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...]
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
eval_param.pass.cpp 67 double x_mean = p.t() * p.p(); local
68 double x_var = x_mean*(1-p.p());
71 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
109 double x_mean = p.t() * p.p(); local
110 double x_var = x_mean*(1-p.p());
113 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
151 double x_mean = p.t() * p.p(); local
152 double x_var = x_mean*(1-p.p())
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
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...]
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
eval.pass.cpp 64 double x_mean = d.a() + d.b() * 0.577215665; local
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
103 double x_mean = d.a() + d.b() * 0.577215665; local
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
142 double x_mean = d.a() + d.b() * 0.577215665; local
146 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
181 double x_mean = d.a() + d.b() * 0.577215665 local
    [all...]
eval_param.pass.cpp 65 double x_mean = p.a() + p.b() * 0.577215665; local
69 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
105 double x_mean = p.a() + p.b() * 0.577215665; local
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
145 double x_mean = p.a() + p.b() * 0.577215665; local
149 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
185 double x_mean = p.a() + p.b() * 0.577215665 local
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/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...]
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
eval.pass.cpp 65 double x_mean = d.n(); local
69 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
105 double x_mean = d.n(); local
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
145 double x_mean = d.n(); local
149 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
eval_param.pass.cpp 66 double x_mean = p.n(); local
70 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
107 double x_mean = p.n(); local
111 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
148 double x_mean = p.n(); local
152 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
eval.pass.cpp 65 double x_mean = 1/d.lambda(); local
69 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
105 double x_mean = 1/d.lambda(); local
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
145 double x_mean = 1/d.lambda(); local
149 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
eval.pass.cpp 65 double x_mean = d.alpha() * d.beta(); local
69 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
105 double x_mean = d.alpha() * d.beta(); local
109 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
145 double x_mean = d.alpha() * d.beta(); local
149 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
eval_param.pass.cpp 66 double x_mean = p.alpha() * p.beta(); local
70 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
107 double x_mean = p.alpha() * p.beta(); local
111 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
148 double x_mean = p.alpha() * p.beta(); local
152 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
eval.pass.cpp 64 double x_mean = d.mean(); local
68 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
103 double x_mean = d.mean(); local
107 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
142 double x_mean = d.mean(); local
146 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
eval_param.pass.cpp 66 double x_mean = p.mean(); local
70 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
107 double x_mean = p.mean(); local
111 assert(std::abs((mean - x_mean) / x_mean) < 0.01);
148 double x_mean = p.mean(); local
152 assert(std::abs((mean - x_mean) / x_mean) < 0.01);

Completed in 199 milliseconds

1 2 3