Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 74) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
Deval.pass.cpp43 double var = 0; in main() local
50 var += d2; in main()
54 var /= u.size(); in main()
55 double dev = std::sqrt(var); in main()
56 skew /= u.size() * dev * var; in main()
57 kurtosis /= u.size() * var * var; in main()
64 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
79 double var = 0; in main() local
86 var += d2; in main()
90 var /= u.size(); in main()
[all …]
Deval_param.pass.cpp44 double var = 0; in main() local
51 var += d2; in main()
55 var /= u.size(); in main()
56 double dev = std::sqrt(var); in main()
57 skew /= u.size() * dev * var; in main()
58 kurtosis /= u.size() * var * var; in main()
65 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
81 double var = 0; in main() local
88 var += d2; in main()
92 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
Deval.pass.cpp47 double var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 double dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
69 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
88 double var = 0; in main() local
95 var += d2; in main()
99 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
Deval.pass.cpp47 double var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 double dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
87 double var = 0; in main() local
94 var += d2; in main()
98 var /= u.size(); in main()
[all …]
Deval_param.pass.cpp49 double var = 0; in main() local
56 var += d2; in main()
60 var /= u.size(); in main()
61 double dev = std::sqrt(var); in main()
62 skew /= u.size() * dev * var; in main()
63 kurtosis /= u.size() * var * var; in main()
70 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
91 double var = 0; in main() local
98 var += d2; in main()
102 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
Deval.pass.cpp46 double var = 0; in main() local
53 var += d2; in main()
57 var /= u.size(); in main()
58 double dev = std::sqrt(var); in main()
59 skew /= u.size() * dev * var; in main()
60 kurtosis /= u.size() * var * var; in main()
67 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
85 double var = 0; in main() local
92 var += d2; in main()
96 var /= u.size(); in main()
[all …]
Deval_param.pass.cpp47 double var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 double dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
87 double var = 0; in main() local
94 var += d2; in main()
98 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Deval.pass.cpp47 double var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 double dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
87 double var = 0; in main() local
94 var += d2; in main()
98 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
Deval.pass.cpp46 double var = 0; in main() local
53 var += d2; in main()
57 var /= u.size(); in main()
58 double dev = std::sqrt(var); in main()
59 skew /= u.size() * dev * var; in main()
60 kurtosis /= u.size() * var * var; in main()
67 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
85 double var = 0; in main() local
92 var += d2; in main()
96 var /= u.size(); in main()
[all …]
Deval_param.pass.cpp48 double var = 0; in main() local
55 var += d2; in main()
59 var /= u.size(); in main()
60 double dev = std::sqrt(var); in main()
61 skew /= u.size() * dev * var; in main()
62 kurtosis /= u.size() * var * var; in main()
69 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
89 double var = 0; in main() local
96 var += d2; in main()
100 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
Deval.pass.cpp47 double var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 double dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
87 double var = 0; in main() local
94 var += d2; in main()
98 var /= u.size(); in main()
[all …]
Deval_param.pass.cpp49 double var = 0; in main() local
56 var += d2; in main()
60 var /= u.size(); in main()
61 double dev = std::sqrt(var); in main()
62 skew /= u.size() * dev * var; in main()
63 kurtosis /= u.size() * var * var; in main()
70 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
91 double var = 0; in main() local
98 var += d2; in main()
102 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
Deval.pass.cpp47 double var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 double dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
87 double var = 0; in main() local
94 var += d2; in main()
98 var /= u.size(); in main()
[all …]
Deval_param.pass.cpp49 double var = 0; in main() local
56 var += d2; in main()
60 var /= u.size(); in main()
61 double dev = std::sqrt(var); in main()
62 skew /= u.size() * dev * var; in main()
63 kurtosis /= u.size() * var * var; in main()
70 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
91 double var = 0; in main() local
98 var += d2; in main()
102 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
Deval.pass.cpp47 D::result_type var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 D::result_type dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
87 D::result_type var = 0; in main() local
94 var += d2; in main()
98 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
Deval_param.pass.cpp48 double var = 0; in main() local
55 var += d2; in main()
59 var /= u.size(); in main()
60 double dev = std::sqrt(var); in main()
61 skew /= u.size() * dev * var; in main()
62 kurtosis /= u.size() * var * var; in main()
69 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
89 double var = 0; in main() local
96 var += d2; in main()
100 var /= u.size(); in main()
[all …]
Deval.pass.cpp47 double var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 double dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
87 double var = 0; in main() local
94 var += d2; in main()
98 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
Deval_param.pass.cpp48 double var = 0; in main() local
55 var += d2; in main()
59 var /= u.size(); in main()
60 double dev = std::sqrt(var); in main()
61 skew /= u.size() * dev * var; in main()
62 kurtosis /= u.size() * var * var; in main()
69 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
89 double var = 0; in main() local
96 var += d2; in main()
100 var /= u.size(); in main()
[all …]
Deval.pass.cpp47 double var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 double dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
68 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
87 double var = 0; in main() local
94 var += d2; in main()
98 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/
Deval.pass.cpp42 double var = 0; in main() local
49 var += d2; in main()
53 var /= u.size(); in main()
54 double dev = std::sqrt(var); in main()
55 skew /= u.size() * dev * var; in main()
56 kurtosis /= u.size() * var * var; in main()
63 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
78 double var = 0; in main() local
85 var += d2; in main()
89 var /= u.size(); in main()
[all …]
Deval_param.pass.cpp44 double var = 0; in main() local
51 var += d2; in main()
55 var /= u.size(); in main()
56 double dev = std::sqrt(var); in main()
57 skew /= u.size() * dev * var; in main()
58 kurtosis /= u.size() * var * var; in main()
65 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
82 double var = 0; in main() local
89 var += d2; in main()
93 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
Deval_param.pass.cpp49 double var = 0; in main() local
56 var += d2; in main()
60 var /= u.size(); in main()
61 double dev = std::sqrt(var); in main()
62 skew /= u.size() * dev * var; in main()
63 kurtosis /= u.size() * var * var; in main()
72 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
92 double var = 0; in main() local
99 var += d2; in main()
103 var /= u.size(); in main()
[all …]
Deval.pass.cpp47 double var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 double dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
70 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
89 double var = 0; in main() local
96 var += d2; in main()
100 var /= u.size(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
Deval.pass.cpp66 double var = 0; in main() local
73 var += d2; in main()
77 var /= Ni; in main()
78 double dev = std::sqrt(var); in main()
79 skew /= Ni * dev * var; in main()
80 kurtosis /= Ni * var * var; in main()
87 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
126 double var = 0; in main() local
133 var += d2; in main()
137 var /= Ni; in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/
Deval.pass.cpp47 double var = 0; in main() local
54 var += d2; in main()
58 var /= u.size(); in main()
59 double dev = std::sqrt(var); in main()
60 skew /= u.size() * dev * var; in main()
61 kurtosis /= u.size() * var * var; in main()
72 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
91 double var = 0; in main() local
98 var += d2; in main()
102 var /= u.size(); in main()
[all …]

123