HomeSort by relevance Sort by last modified time
    Searched defs:x_var (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/
eval.pass.cpp 59 double x_var = d.p()*(1-d.p()); local
60 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var);
61 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var;
63 assert(std::abs((var - x_var) / x_var) < 0.01);
95 double x_var = d.p()*(1-d.p()); local
96 double x_skew = (1 - 2 * d.p())/std::sqrt(x_var);
97 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var;
99 assert(std::abs((var - x_var) / x_var) < 0.01)
    [all...]
eval_param.pass.cpp 61 double x_var = p.p()*(1-p.p()); local
62 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var);
63 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var;
65 assert(std::abs((var - x_var) / x_var) < 0.01);
99 double x_var = p.p()*(1-p.p()); local
100 double x_skew = (1 - 2 * p.p())/std::sqrt(x_var);
101 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var;
103 assert(std::abs((var - x_var) / x_var) < 0.01)
    [all...]
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
eval.pass.cpp 64 double x_var = x_mean*(1-d.p()); local
65 double x_skew = (1-2*d.p()) / std::sqrt(x_var);
66 double x_kurtosis = (1-6*d.p()*(1-d.p())) / x_var;
68 assert(std::abs((var - x_var) / x_var) < 0.01);
104 double x_var = x_mean*(1-d.p()); local
105 double x_skew = (1-2*d.p()) / std::sqrt(x_var);
106 double x_kurtosis = (1-6*d.p()*(1-d.p())) / x_var;
108 assert(std::abs((var - x_var) / x_var) < 0.01)
144 double x_var = x_mean*(1-d.p()); local
190 double x_var = x_mean*(1-d.p()); local
236 double x_var = x_mean*(1-d.p()); local
276 double x_var = x_mean*(1-d.p()); local
    [all...]
eval_param.pass.cpp 66 double x_var = x_mean*(1-p.p()); local
67 double x_skew = (1-2*p.p()) / std::sqrt(x_var);
68 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var;
70 assert(std::abs((var - x_var) / x_var) < 0.01);
108 double x_var = x_mean*(1-p.p()); local
109 double x_skew = (1-2*p.p()) / std::sqrt(x_var);
110 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var;
112 assert(std::abs((var - x_var) / x_var) < 0.01)
150 double x_var = x_mean*(1-p.p()); local
    [all...]
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
eval.pass.cpp 64 double x_var = x_mean / d.p(); local
68 assert(std::abs((var - x_var) / x_var) < 0.01);
104 double x_var = x_mean / d.p(); local
108 assert(std::abs((var - x_var) / x_var) < 0.01);
144 double x_var = x_mean / d.p(); local
148 assert(std::abs((var - x_var) / x_var) < 0.01);
184 double x_var = x_mean / d.p() local
224 double x_var = x_mean \/ d.p(); local
264 double x_var = x_mean \/ d.p(); local
    [all...]
eval_param.pass.cpp 66 double x_var = x_mean / p.p(); local
70 assert(std::abs((var - x_var) / x_var) < 0.01);
108 double x_var = x_mean / p.p(); local
112 assert(std::abs((var - x_var) / x_var) < 0.01);
150 double x_var = x_mean / p.p(); local
154 assert(std::abs((var - x_var) / x_var) < 0.01);
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
eval.pass.cpp 64 double x_var = x_mean / d.p(); local
68 assert(std::abs((var - x_var) / x_var) < 0.01);
104 double x_var = x_mean / d.p(); local
108 assert(std::abs((var - x_var) / x_var) < 0.01);
144 double x_var = x_mean / d.p(); local
148 assert(std::abs((var - x_var) / x_var) < 0.01);
184 double x_var = x_mean / d.p() local
222 double x_var = x_mean \/ d.p(); local
262 double x_var = x_mean \/ d.p(); local
    [all...]
eval_param.pass.cpp 66 double x_var = x_mean / p.p(); local
70 assert(std::abs((var - x_var) / x_var) < 0.01);
108 double x_var = x_mean / p.p(); local
112 assert(std::abs((var - x_var) / x_var) < 0.01);
150 double x_var = x_mean / p.p(); local
154 assert(std::abs((var - x_var) / x_var) < 0.01);
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
eval.pass.cpp 64 double x_var = 2 * d.n(); local
68 assert(std::abs((var - x_var) / x_var) < 0.01);
104 double x_var = 2 * d.n(); local
108 assert(std::abs((var - x_var) / x_var) < 0.01);
144 double x_var = 2 * d.n(); local
148 assert(std::abs((var - x_var) / x_var) < 0.01);
eval_param.pass.cpp 65 double x_var = 2 * p.n(); local
69 assert(std::abs((var - x_var) / x_var) < 0.01);
106 double x_var = 2 * p.n(); local
110 assert(std::abs((var - x_var) / x_var) < 0.01);
147 double x_var = 2 * p.n(); local
151 assert(std::abs((var - x_var) / x_var) < 0.01);
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
eval.pass.cpp 64 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); local
70 assert(std::abs((var - x_var) / x_var) < 0.01);
106 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); local
112 assert(std::abs((var - x_var) / x_var) < 0.01);
148 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); local
154 assert(std::abs((var - x_var) / x_var) < 0.01);
190 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())) local
232 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); local
    [all...]
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/
eval.pass.cpp 60 double x_var = sqr(d.stddev()); local
64 assert(std::abs((var - x_var) / x_var) < 0.01);
eval_param.pass.cpp 61 double x_var = sqr(p.stddev()); local
65 assert(std::abs((var - x_var) / x_var) < 0.01);
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
eval.pass.cpp 60 double x_var = d.n() / (d.n() - 2); local
64 assert(std::abs((var - x_var) / x_var) < 0.01);
96 double x_var = d.n() / (d.n() - 2);
100 assert(std::abs((var - x_var) / x_var) < 0.01);
132 double x_var = d.n() / (d.n() - 2);
136 assert(std::abs((var - x_var) / x_var) < 0.01);
eval_param.pass.cpp 61 double x_var = p.n() / (p.n() - 2); local
65 assert(std::abs((var - x_var) / x_var) < 0.01);
98 double x_var = p.n() / (p.n() - 2);
102 assert(std::abs((var - x_var) / x_var) < 0.01);
135 double x_var = p.n() / (p.n() - 2);
139 assert(std::abs((var - x_var) / x_var) < 0.01);
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
eval.pass.cpp 64 double x_var = 1/sqr(d.lambda()); local
68 assert(std::abs((var - x_var) / x_var) < 0.01);
104 double x_var = 1/sqr(d.lambda()); local
108 assert(std::abs((var - x_var) / x_var) < 0.01);
144 double x_var = 1/sqr(d.lambda()); local
148 assert(std::abs((var - x_var) / x_var) < 0.01);
eval_param.pass.cpp 65 double x_var = 1/sqr(p.lambda()); local
69 assert(std::abs((var - x_var) / x_var) < 0.01);
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
eval.pass.cpp 63 double x_var = sqr(d.b()) * 1.644934067; local
67 assert(std::abs((var - x_var) / x_var) < 0.01);
102 double x_var = sqr(d.b()) * 1.644934067; local
106 assert(std::abs((var - x_var) / x_var) < 0.01);
141 double x_var = sqr(d.b()) * 1.644934067; local
145 assert(std::abs((var - x_var) / x_var) < 0.01);
180 double x_var = sqr(d.b()) * 1.644934067 local
    [all...]
eval_param.pass.cpp 64 double x_var = sqr(p.b()) * 1.644934067; local
68 assert(std::abs((var - x_var) / x_var) < 0.01);
104 double x_var = sqr(p.b()) * 1.644934067; local
108 assert(std::abs((var - x_var) / x_var) < 0.01);
144 double x_var = sqr(p.b()) * 1.644934067; local
148 assert(std::abs((var - x_var) / x_var) < 0.01);
184 double x_var = sqr(p.b()) * 1.644934067 local
    [all...]
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
eval.pass.cpp 64 double x_var = d.alpha() * sqr(d.beta()); local
68 assert(std::abs((var - x_var) / x_var) < 0.01);
104 double x_var = d.alpha() * sqr(d.beta()); local
108 assert(std::abs((var - x_var) / x_var) < 0.01);
144 double x_var = d.alpha() * sqr(d.beta()); local
148 assert(std::abs((var - x_var) / x_var) < 0.01);
eval_param.pass.cpp 65 double x_var = p.alpha() * sqr(p.beta()); local
69 assert(std::abs((var - x_var) / x_var) < 0.01);
106 double x_var = p.alpha() * sqr(p.beta()); local
110 assert(std::abs((var - x_var) / x_var) < 0.01);
147 double x_var = p.alpha() * sqr(p.beta()); local
151 assert(std::abs((var - x_var) / x_var) < 0.01);
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
eval.pass.cpp 63 double x_var = d.mean(); local
64 double x_skew = 1 / std::sqrt(x_var);
65 double x_kurtosis = 1 / x_var;
67 assert(std::abs((var - x_var) / x_var) < 0.01);
102 double x_var = d.mean(); local
103 double x_skew = 1 / std::sqrt(x_var);
104 double x_kurtosis = 1 / x_var;
106 assert(std::abs((var - x_var) / x_var) < 0.01)
141 double x_var = d.mean(); local
    [all...]
eval_param.pass.cpp 65 double x_var = p.mean(); local
66 double x_skew = 1 / std::sqrt(x_var);
67 double x_kurtosis = 1 / x_var;
69 assert(std::abs((var - x_var) / x_var) < 0.01);
106 double x_var = p.mean(); local
107 double x_skew = 1 / std::sqrt(x_var);
108 double x_kurtosis = 1 / x_var;
110 assert(std::abs((var - x_var) / x_var) < 0.01)
147 double x_var = p.mean(); local
    [all...]
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/
eval.pass.cpp 64 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); local
66 3*x_mean*x_var - sqr(x_mean)*x_mean) /
67 (std::sqrt(x_var)*x_var);
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;
72 assert(std::abs((var - x_var) / x_var) < 0.01)
108 double x_var = sqr(d.b()) * std::tgamma(1 + 2\/d.a()) - sqr(x_mean); local
152 double x_var = sqr(d.b()) * std::tgamma(1 + 2\/d.a()) - sqr(x_mean); local
    [all...]
eval_param.pass.cpp 65 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); local
67 3*x_mean*x_var - sqr(x_mean)*x_mean) /
68 (std::sqrt(x_var)*x_var);
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;
73 assert(std::abs((var - x_var) / x_var) < 0.01)
110 double x_var = sqr(p.b()) * std::tgamma(1 + 2\/p.a()) - sqr(x_mean); local
155 double x_var = sqr(p.b()) * std::tgamma(1 + 2\/p.a()) - sqr(x_mean); local
    [all...]

Completed in 269 milliseconds

1 2 3