OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:x_var
(Results
1 - 25
of
60
) sorted by null
1
2
3
/external/libcxx/test/std/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/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
eval.pass.cpp
66
double
x_var
= x_mean*(1-d.p());
local
67
double x_skew = (1-2*d.p()) / std::sqrt(
x_var
);
68
double x_kurtosis = (1-6*d.p()*(1-d.p())) /
x_var
;
70
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
106
double
x_var
= x_mean*(1-d.p());
local
107
double x_skew = (1-2*d.p()) / std::sqrt(
x_var
);
108
double x_kurtosis = (1-6*d.p()*(1-d.p())) /
x_var
;
110
assert(std::abs((var -
x_var
) /
x_var
) < 0.01)
146
double
x_var
= x_mean*(1-d.p());
local
192
double
x_var
= x_mean*(1-d.p());
local
238
double
x_var
= x_mean*(1-d.p());
local
278
double
x_var
= x_mean*(1-d.p());
local
[
all
...]
eval_param.pass.cpp
68
double
x_var
= x_mean*(1-p.p());
local
69
double x_skew = (1-2*p.p()) / std::sqrt(
x_var
);
70
double x_kurtosis = (1-6*p.p()*(1-p.p())) /
x_var
;
72
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
110
double
x_var
= x_mean*(1-p.p());
local
111
double x_skew = (1-2*p.p()) / std::sqrt(
x_var
);
112
double x_kurtosis = (1-6*p.p()*(1-p.p())) /
x_var
;
114
assert(std::abs((var -
x_var
) /
x_var
) < 0.01)
152
double
x_var
= x_mean*(1-p.p());
local
[
all
...]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
eval.pass.cpp
66
double
x_var
= x_mean / d.p();
local
70
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
106
double
x_var
= x_mean / d.p();
local
110
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
146
double
x_var
= x_mean / d.p();
local
150
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
186
double
x_var
= x_mean / d.p()
local
226
double
x_var
= x_mean \/ d.p();
local
266
double
x_var
= x_mean \/ d.p();
local
[
all
...]
eval_param.pass.cpp
68
double
x_var
= x_mean / p.p();
local
72
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
110
double
x_var
= x_mean / p.p();
local
114
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
152
double
x_var
= x_mean / p.p();
local
156
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
eval.pass.cpp
66
double
x_var
= x_mean / d.p();
local
70
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
106
double
x_var
= x_mean / d.p();
local
110
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
146
double
x_var
= x_mean / d.p();
local
150
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
186
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
68
double
x_var
= x_mean / p.p();
local
72
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
110
double
x_var
= x_mean / p.p();
local
114
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
152
double
x_var
= x_mean / p.p();
local
156
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
eval.pass.cpp
66
double
x_var
= 2 * d.n();
local
70
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
106
double
x_var
= 2 * d.n();
local
110
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
146
double
x_var
= 2 * d.n();
local
150
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
eval_param.pass.cpp
67
double
x_var
= 2 * p.n();
local
71
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
108
double
x_var
= 2 * p.n();
local
112
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
149
double
x_var
= 2 * p.n();
local
153
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
eval.pass.cpp
66
double
x_var
= (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s()));
local
72
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
108
double
x_var
= (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s()));
local
114
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
150
double
x_var
= (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s()));
local
156
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
192
double
x_var
= (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s()))
local
234
double
x_var
= (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s()));
local
[
all
...]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/
eval.pass.cpp
62
double
x_var
= sqr(d.stddev());
local
66
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
eval_param.pass.cpp
63
double
x_var
= sqr(p.stddev());
local
67
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
eval.pass.cpp
62
double
x_var
= d.n() / (d.n() - 2);
local
66
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
98
double
x_var
= d.n() / (d.n() - 2);
102
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
134
double
x_var
= d.n() / (d.n() - 2);
138
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
eval_param.pass.cpp
63
double
x_var
= p.n() / (p.n() - 2);
local
67
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
100
double
x_var
= p.n() / (p.n() - 2);
104
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
137
double
x_var
= p.n() / (p.n() - 2);
141
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
eval.pass.cpp
66
double
x_var
= 1/sqr(d.lambda());
local
70
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
106
double
x_var
= 1/sqr(d.lambda());
local
110
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
146
double
x_var
= 1/sqr(d.lambda());
local
150
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
eval_param.pass.cpp
67
double
x_var
= 1/sqr(p.lambda());
local
71
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
eval.pass.cpp
65
double
x_var
= sqr(d.b()) * 1.644934067;
local
69
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
104
double
x_var
= sqr(d.b()) * 1.644934067;
local
108
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
143
double
x_var
= sqr(d.b()) * 1.644934067;
local
147
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
182
double
x_var
= sqr(d.b()) * 1.644934067
local
[
all
...]
eval_param.pass.cpp
66
double
x_var
= sqr(p.b()) * 1.644934067;
local
70
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
106
double
x_var
= sqr(p.b()) * 1.644934067;
local
110
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
146
double
x_var
= sqr(p.b()) * 1.644934067;
local
150
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
186
double
x_var
= sqr(p.b()) * 1.644934067
local
[
all
...]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
eval.pass.cpp
66
double
x_var
= d.alpha() * sqr(d.beta());
local
70
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
106
double
x_var
= d.alpha() * sqr(d.beta());
local
110
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
146
double
x_var
= d.alpha() * sqr(d.beta());
local
150
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
eval_param.pass.cpp
67
double
x_var
= p.alpha() * sqr(p.beta());
local
71
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
108
double
x_var
= p.alpha() * sqr(p.beta());
local
112
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
149
double
x_var
= p.alpha() * sqr(p.beta());
local
153
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
eval.pass.cpp
65
double
x_var
= d.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);
104
double
x_var
= d.mean();
local
105
double x_skew = 1 / std::sqrt(
x_var
);
106
double x_kurtosis = 1 /
x_var
;
108
assert(std::abs((var -
x_var
) /
x_var
) < 0.01)
143
double
x_var
= d.mean();
local
[
all
...]
eval_param.pass.cpp
67
double
x_var
= p.mean();
local
68
double x_skew = 1 / std::sqrt(
x_var
);
69
double x_kurtosis = 1 /
x_var
;
71
assert(std::abs((var -
x_var
) /
x_var
) < 0.01);
108
double
x_var
= p.mean();
local
109
double x_skew = 1 / std::sqrt(
x_var
);
110
double x_kurtosis = 1 /
x_var
;
112
assert(std::abs((var -
x_var
) /
x_var
) < 0.01)
149
double
x_var
= p.mean();
local
[
all
...]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/
eval.pass.cpp
66
double
x_var
= sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean);
local
68
3*x_mean*
x_var
- sqr(x_mean)*x_mean) /
69
(std::sqrt(
x_var
)*
x_var
);
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;
74
assert(std::abs((var -
x_var
) /
x_var
) < 0.01)
110
double
x_var
= sqr(d.b()) * std::tgamma(1 + 2\/d.a()) - sqr(x_mean);
local
154
double
x_var
= sqr(d.b()) * std::tgamma(1 + 2\/d.a()) - sqr(x_mean);
local
[
all
...]
eval_param.pass.cpp
67
double
x_var
= sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean);
local
69
3*x_mean*
x_var
- sqr(x_mean)*x_mean) /
70
(std::sqrt(
x_var
)*
x_var
);
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;
75
assert(std::abs((var -
x_var
) /
x_var
) < 0.01)
112
double
x_var
= sqr(p.b()) * std::tgamma(1 + 2\/p.a()) - sqr(x_mean);
local
157
double
x_var
= sqr(p.b()) * std::tgamma(1 + 2\/p.a()) - sqr(x_mean);
local
[
all
...]
Completed in 262 milliseconds
1
2
3