Home
last modified time | relevance | path

Searched refs:kurtosis (Results 1 – 25 of 47) sorted by relevance

12

/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
Deval.pass.cpp52 double kurtosis = 0; in main() local
59 kurtosis += d2 * d2; in main()
64 kurtosis /= u.size() * var * var; in main()
65 kurtosis -= 3; in main()
74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
93 double kurtosis = 0; in main() local
100 kurtosis += d2 * d2; in main()
105 kurtosis /= u.size() * var * var; in main()
106 kurtosis -= 3; in main()
115 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
Deval.pass.cpp52 D::result_type kurtosis = 0; in main() local
59 kurtosis += d2 * d2; in main()
64 kurtosis /= u.size() * var * var; in main()
65 kurtosis -= 3; in main()
73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
92 D::result_type kurtosis = 0; in main() local
99 kurtosis += d2 * d2; in main()
104 kurtosis /= u.size() * var * var; in main()
105 kurtosis -= 3; in main()
113 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
Deval.pass.cpp65 double kurtosis = 0; in test1() local
72 kurtosis += d2 * d2; in test1()
77 kurtosis /= u.size() * var * var; in test1()
78 kurtosis -= 3; in test1()
86 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test1()
108 double kurtosis = 0; in test2() local
115 kurtosis += d2 * d2; in test2()
120 kurtosis /= u.size() * var * var; in test2()
121 kurtosis -= 3; in test2()
129 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in test2()
[all …]
Deval_param.pass.cpp53 double kurtosis = 0; in main() local
60 kurtosis += d2 * d2; in main()
65 kurtosis /= u.size() * var * var; in main()
66 kurtosis -= 3; in main()
74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
95 double kurtosis = 0; in main() local
102 kurtosis += d2 * d2; in main()
107 kurtosis /= u.size() * var * var; in main()
108 kurtosis -= 3; in main()
116 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
Deval.pass.cpp49 double kurtosis = 0; in test1() local
56 kurtosis += d2 * d2; in test1()
61 kurtosis /= u.size() * var * var; in test1()
62 kurtosis -= 3; in test1()
70 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test1()
90 double kurtosis = 0; in test2() local
97 kurtosis += d2 * d2; in test2()
102 kurtosis /= u.size() * var * var; in test2()
103 kurtosis -= 3; in test2()
111 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test2()
[all …]
Deval_param.pass.cpp51 double kurtosis = 0; in test1() local
58 kurtosis += d2 * d2; in test1()
63 kurtosis /= u.size() * var * var; in test1()
64 kurtosis -= 3; in test1()
72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test1()
94 double kurtosis = 0; in test2() local
101 kurtosis += d2 * d2; in test2()
106 kurtosis /= u.size() * var * var; in test2()
107 kurtosis -= 3; in test2()
115 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test2()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
Deval.pass.cpp51 double kurtosis = 0; in test1() local
58 kurtosis += d2 * d2; in test1()
63 kurtosis /= u.size() * var * var; in test1()
64 kurtosis -= 3; in test1()
72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in test1()
94 double kurtosis = 0; in test2() local
101 kurtosis += d2 * d2; in test2()
106 kurtosis /= u.size() * var * var; in test2()
107 kurtosis -= 3; in test2()
115 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test2()
[all …]
Deval_param.pass.cpp53 double kurtosis = 0; in main() local
60 kurtosis += d2 * d2; in main()
65 kurtosis /= u.size() * var * var; in main()
66 kurtosis -= 3; in main()
74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
95 double kurtosis = 0; in main() local
102 kurtosis += d2 * d2; in main()
107 kurtosis /= u.size() * var * var; in main()
108 kurtosis -= 3; in main()
116 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
Deval.pass.cpp51 double kurtosis = 0; in test1() local
58 kurtosis += d2 * d2; in test1()
63 kurtosis /= u.size() * var * var; in test1()
64 kurtosis -= 3; in test1()
72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in test1()
94 double kurtosis = 0; in test2() local
101 kurtosis += d2 * d2; in test2()
106 kurtosis /= u.size() * var * var; in test2()
107 kurtosis -= 3; in test2()
115 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test2()
[all …]
Deval_param.pass.cpp53 double kurtosis = 0; in main() local
60 kurtosis += d2 * d2; in main()
65 kurtosis /= u.size() * var * var; in main()
66 kurtosis -= 3; in main()
74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main()
95 double kurtosis = 0; in main() local
102 kurtosis += d2 * d2; in main()
107 kurtosis /= u.size() * var * var; in main()
108 kurtosis -= 3; in main()
116 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
Deval.pass.cpp46 double kurtosis = 0; in main() local
53 kurtosis += d2 * d2; in main()
58 kurtosis /= u.size() * var * var; in main()
59 kurtosis -= 3; in main()
67 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.2); in main()
81 double kurtosis = 0; in main() local
88 kurtosis += d2 * d2; in main()
93 kurtosis /= u.size() * var * var; in main()
94 kurtosis -= 3; in main()
102 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main()
[all …]
Deval_param.pass.cpp48 double kurtosis = 0; in main() local
55 kurtosis += d2 * d2; in main()
60 kurtosis /= u.size() * var * var; in main()
61 kurtosis -= 3; in main()
69 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.2); in main()
85 double kurtosis = 0; in main() local
92 kurtosis += d2 * d2; in main()
97 kurtosis /= u.size() * var * var; in main()
98 kurtosis -= 3; in main()
106 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
Deval.pass.cpp50 double kurtosis = 0; in test1() local
57 kurtosis += d2 * d2; in test1()
62 kurtosis /= u.size() * var * var; in test1()
63 kurtosis -= 3; in test1()
73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.25); in test1()
94 double kurtosis = 0; in test2() local
101 kurtosis += d2 * d2; in test2()
106 kurtosis /= u.size() * var * var; in test2()
107 kurtosis -= 3; in test2()
117 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in test2()
[all …]
Deval_param.pass.cpp52 double kurtosis = 0; in test1() local
59 kurtosis += d2 * d2; in test1()
64 kurtosis /= u.size() * var * var; in test1()
65 kurtosis -= 3; in test1()
75 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.25); in test1()
98 double kurtosis = 0; in test2() local
105 kurtosis += d2 * d2; in test2()
110 kurtosis /= u.size() * var * var; in test2()
111 kurtosis -= 3; in test2()
121 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in test2()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
Deval.pass.cpp51 double kurtosis = 0; in main() local
58 kurtosis += d2 * d2; in main()
63 kurtosis /= u.size() * var * var; in main()
64 kurtosis -= 3; in main()
72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
90 double kurtosis = 0; in main() local
97 kurtosis += d2 * d2; in main()
102 kurtosis /= u.size() * var * var; in main()
103 kurtosis -= 3; in main()
111 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
[all …]
Deval_param.pass.cpp53 double kurtosis = 0; in main() local
60 kurtosis += d2 * d2; in main()
65 kurtosis /= u.size() * var * var; in main()
66 kurtosis -= 3; in main()
74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
94 double kurtosis = 0; in main() local
101 kurtosis += d2 * d2; in main()
106 kurtosis /= u.size() * var * var; in main()
107 kurtosis -= 3; in main()
115 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Deval.pass.cpp51 double kurtosis = 0; in main() local
58 kurtosis += d2 * d2; in main()
63 kurtosis /= u.size() * var * var; in main()
64 kurtosis -= 3; in main()
72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
90 double kurtosis = 0; in main() local
97 kurtosis += d2 * d2; in main()
102 kurtosis /= u.size() * var * var; in main()
103 kurtosis -= 3; in main()
111 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
Deval.pass.cpp71 double kurtosis = 0; in test1() local
78 kurtosis += d2 * d2; in test1()
83 kurtosis /= Ni * var * var; in test1()
84 kurtosis -= 3; in test1()
92 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test1()
134 double kurtosis = 0; in test2() local
141 kurtosis += d2 * d2; in test2()
146 kurtosis /= Ni * var * var; in test2()
147 kurtosis -= 3; in test2()
155 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test2()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
Deval_param.pass.cpp52 double kurtosis = 0; in main() local
59 kurtosis += d2 * d2; in main()
64 kurtosis /= u.size() * var * var; in main()
65 kurtosis -= 3; in main()
73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
93 double kurtosis = 0; in main() local
100 kurtosis += d2 * d2; in main()
105 kurtosis /= u.size() * var * var; in main()
106 kurtosis -= 3; in main()
114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
[all …]
Deval.pass.cpp50 double kurtosis = 0; in main() local
57 kurtosis += d2 * d2; in main()
62 kurtosis /= u.size() * var * var; in main()
63 kurtosis -= 3; in main()
71 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
89 double kurtosis = 0; in main() local
96 kurtosis += d2 * d2; in main()
101 kurtosis /= u.size() * var * var; in main()
102 kurtosis -= 3; in main()
110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
Deval_param.pass.cpp52 double kurtosis = 0; in main() local
59 kurtosis += d2 * d2; in main()
64 kurtosis /= u.size() * var * var; in main()
65 kurtosis -= 3; in main()
73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
93 double kurtosis = 0; in main() local
100 kurtosis += d2 * d2; in main()
105 kurtosis /= u.size() * var * var; in main()
106 kurtosis -= 3; in main()
114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main()
[all …]
Deval.pass.cpp112 double kurtosis = 0; in main() local
119 kurtosis += d2 * d2; in main()
124 kurtosis /= u.size() * var * var; in main()
125 kurtosis -= 3; in main()
133 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
151 double kurtosis = 0; in main() local
158 kurtosis += d2 * d2; in main()
163 kurtosis /= u.size() * var * var; in main()
164 kurtosis -= 3; in main()
172 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/
Deval_param.pass.cpp53 double kurtosis = 0; in main() local
60 kurtosis += d2 * d2; in main()
65 kurtosis /= u.size() * var * var; in main()
66 kurtosis -= 3; in main()
78 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
98 double kurtosis = 0; in main() local
105 kurtosis += d2 * d2; in main()
110 kurtosis /= u.size() * var * var; in main()
111 kurtosis -= 3; in main()
123 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
[all …]
Deval.pass.cpp51 double kurtosis = 0; in main() local
58 kurtosis += d2 * d2; in main()
63 kurtosis /= u.size() * var * var; in main()
64 kurtosis -= 3; in main()
76 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
94 double kurtosis = 0; in main() local
101 kurtosis += d2 * d2; in main()
106 kurtosis /= u.size() * var * var; in main()
107 kurtosis -= 3; in main()
119 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/
Deval.pass.cpp45 double kurtosis = 0; in main() local
52 kurtosis += d2 * d2; in main()
57 kurtosis /= u.size() * var * var; in main()
58 kurtosis -= 3; in main()
66 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
81 double kurtosis = 0; in main() local
88 kurtosis += d2 * d2; in main()
93 kurtosis /= u.size() * var * var; in main()
94 kurtosis -= 3; in main()
102 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()

12