/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
D | eval.pass.cpp | 28 sqr(T x) in sqr() function 55 double d2 = sqr(dbl); in main() 66 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); in main() 67 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() 68 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main() 70 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - in main() 72 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3; in main() 98 double d2 = sqr(dbl); in main() 109 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); in main() 110 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() [all …]
|
D | eval_param.pass.cpp | 28 sqr(T x) in sqr() function 57 double d2 = sqr(dbl); in main() 68 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); in main() 69 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() 70 3*x_mean*x_var - sqr(x_mean)*x_mean) / in main() 72 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - in main() 74 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3; in main() 102 double d2 = sqr(dbl); in main() 113 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); in main() 114 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
D | eval.pass.cpp | 27 sqr(T x) in sqr() function 55 double d2 = sqr(dbl); in test1() 65 double x_mean = std::exp(d.m() + sqr(d.s())/2); in test1() 66 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); in test1() 67 double x_skew = (std::exp(sqr(d.s())) + 2) * in test1() 68 std::sqrt((std::exp(sqr(d.s())) - 1)); in test1() 69 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in test1() 70 3*std::exp(2*sqr(d.s())) - 6; in test1() 100 double d2 = sqr(dbl); in test2() 110 double x_mean = std::exp(d.m() + sqr(d.s())/2); in test2() [all …]
|
D | eval_param.pass.cpp | 27 sqr(T x) in sqr() function 56 double d2 = sqr(dbl); in test1() 66 double x_mean = std::exp(p.m() + sqr(p.s())/2); in test1() 67 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); in test1() 68 double x_skew = (std::exp(sqr(p.s())) + 2) * in test1() 69 std::sqrt((std::exp(sqr(p.s())) - 1)); in test1() 70 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in test1() 71 3*std::exp(2*sqr(p.s())) - 6; in test1() 102 double d2 = sqr(dbl); in test2() 112 double x_mean = std::exp(p.m() + sqr(p.s())/2); in test2() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
D | eval.pass.cpp | 28 sqr(T x) in sqr() function 56 double d2 = sqr(dbl); in main() 67 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() 69 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() 70 (5. * (sqr((double)d.b() - d.a() + 1) - 1)); in main() 97 double d2 = sqr(dbl); in main() 108 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main() 110 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() 111 (5. * (sqr((double)d.b() - d.a() + 1) - 1)); in main() 138 double d2 = sqr(dbl); in main() [all …]
|
D | eval_param.pass.cpp | 26 sqr(T x) in sqr() function 56 double d2 = sqr(dbl); in main() 67 double x_var = (sqr((double)p.b() - p.a() + 1) - 1) / 12; in main() 69 double x_kurtosis = -6. * (sqr((double)p.b() - p.a() + 1) + 1) / in main() 70 (5. * (sqr((double)p.b() - p.a() + 1) - 1)); in main()
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
D | fast_square_root.inl | 76 valType sqr = x.x * x.x + x.y * x.y; local 77 return fastSqrt(sqr); 86 valType sqr = x.x * x.x + x.y * x.y + x.z * x.z; local 87 return fastSqrt(sqr); 96 valType sqr = x.x * x.x + x.y * x.y + x.z * x.z + x.w * x.w; local 97 return fastSqrt(sqr); 127 valType sqr = x.x * x.x + x.y * x.y; local 128 return x * fastInverseSqrt(sqr); 137 valType sqr = x.x * x.x + x.y * x.y + x.z * x.z; local 138 return x * fastInverseSqrt(sqr); [all …]
|
/external/boringssl/mac-x86/crypto/bn/ |
D | co-586.S | 730 # sqr a[0]*a[0] 741 # sqr a[1]*a[0] 755 # sqr a[2]*a[0] 764 # sqr a[1]*a[1] 775 # sqr a[3]*a[0] 785 # sqr a[2]*a[1] 799 # sqr a[4]*a[0] 809 # sqr a[3]*a[1] 818 # sqr a[2]*a[2] 829 # sqr a[5]*a[0] [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ |
D | eval.pass.cpp | 28 sqr(T x) in sqr() function 56 D::result_type d2 = sqr(dbl); in main() 67 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() 96 D::result_type d2 = sqr(dbl); in main() 107 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() 136 D::result_type d2 = sqr(dbl); in main() 147 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() 176 D::result_type d2 = sqr(dbl); in main() 187 D::result_type x_var = sqr(d.b() - d.a()) / 12; in main() 216 D::result_type d2 = sqr(dbl); in main() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
D | eval.pass.cpp | 27 sqr(T x) in sqr() function 55 double d2 = sqr(dbl); in test1() 68 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in test1() 98 double d2 = sqr(dbl); in test2() 111 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in test2() 141 double d2 = sqr(dbl); in test3() 154 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in test3() 184 double d2 = sqr(dbl); in test4() 197 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in test4() 227 double d2 = sqr(dbl); in test5() [all …]
|
D | eval_param.pass.cpp | 27 sqr(T x) in sqr() function 57 double d2 = sqr(dbl); in main() 70 double x_kurtosis = 6 + sqr(p.p()) / (1 - p.p()); in main() 99 double d2 = sqr(dbl); in main() 112 double x_kurtosis = 6 + sqr(p.p()) / (1 - p.p()); in main() 141 double d2 = sqr(dbl); in main() 154 double x_kurtosis = 6 + sqr(p.p()) / (1 - p.p()); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
D | eval_param.pass.cpp | 27 sqr(T x) in sqr() function 55 double d2 = sqr(dbl); in test1() 66 double x_var = sqr(p.b()) * 1.644934067; in test1() 98 double d2 = sqr(dbl); in test2() 109 double x_var = sqr(p.b()) * 1.644934067; in test2() 141 double d2 = sqr(dbl); in test3() 152 double x_var = sqr(p.b()) * 1.644934067; in test3() 184 double d2 = sqr(dbl); in test4() 195 double x_var = sqr(p.b()) * 1.644934067; in test4()
|
D | eval.pass.cpp | 27 sqr(T x) in sqr() function 54 double d2 = sqr(dbl); in test1() 65 double x_var = sqr(d.b()) * 1.644934067; in test1() 96 double d2 = sqr(dbl); in test2() 107 double x_var = sqr(d.b()) * 1.644934067; in test2() 138 double d2 = sqr(dbl); in test3() 149 double x_var = sqr(d.b()) * 1.644934067; in test3() 180 double d2 = sqr(dbl); in test4() 191 double x_var = sqr(d.b()) * 1.644934067; in test4()
|
/external/eigen/test/ |
D | product_mmtr.cpp | 37 MatrixRowMaj sqr(size,size); sqr.setRandom(); in mmtr() local 56 CHECK_MMTR(matc, Lower, -= s*sqr*sqc.template triangularView<Upper>()); in mmtr() 57 CHECK_MMTR(matc, Upper, = s*sqc*sqr.template triangularView<Upper>()); in mmtr() 58 CHECK_MMTR(matc, Lower, += s*sqr*sqc.template triangularView<Lower>()); in mmtr() 61 CHECK_MMTR(matc, Lower, = (s*sqr).template triangularView<Upper>()*sqc); in mmtr() 63 CHECK_MMTR(matc, Lower, = (s*sqr).template triangularView<Lower>()*sqc); in mmtr()
|
/external/boringssl/win-x86/crypto/bn/ |
D | co-586.asm | 740 ; sqr a[0]*a[0] 751 ; sqr a[1]*a[0] 765 ; sqr a[2]*a[0] 774 ; sqr a[1]*a[1] 785 ; sqr a[3]*a[0] 795 ; sqr a[2]*a[1] 809 ; sqr a[4]*a[0] 819 ; sqr a[3]*a[1] 828 ; sqr a[2]*a[2] 839 ; sqr a[5]*a[0] [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/ |
D | eval.pass.cpp | 28 sqr(T x) in sqr() function 55 double d2 = sqr(dbl); in main() 66 double x_var = 1/sqr(d.lambda()); in main() 94 double d2 = sqr(dbl); in main() 105 double x_var = 1/sqr(d.lambda()); in main() 133 double d2 = sqr(dbl); in main() 144 double x_var = 1/sqr(d.lambda()); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/ |
D | eval.pass.cpp | 27 sqr(T x) in sqr() function 55 double d2 = sqr(dbl); in test1() 68 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in test1() 98 double d2 = sqr(dbl); in test2() 111 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in test2() 141 double d2 = sqr(dbl); in test3() 154 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in test3() 184 double d2 = sqr(dbl); in test4() 225 double d2 = sqr(dbl); in test5() 238 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in test5() [all …]
|
D | eval_param.pass.cpp | 27 sqr(T x) in sqr() function 57 double d2 = sqr(dbl); in main() 70 double x_kurtosis = 6. / p.k() + sqr(p.p()) / (p.k() * (1 - p.p())); in main() 99 double d2 = sqr(dbl); in main() 112 double x_kurtosis = 6. / p.k() + sqr(p.p()) / (p.k() * (1 - p.p())); in main() 141 double d2 = sqr(dbl); in main() 154 double x_kurtosis = 6. / p.k() + sqr(p.p()) / (p.k() * (1 - p.p())); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/ |
D | eval.pass.cpp | 27 sqr(T x) in sqr() function 55 double d2 = sqr(dbl); in main() 66 double x_var = d.alpha() * sqr(d.beta()); in main() 95 double d2 = sqr(dbl); in main() 106 double x_var = d.alpha() * sqr(d.beta()); in main() 135 double d2 = sqr(dbl); in main() 146 double x_var = d.alpha() * sqr(d.beta()); in main()
|
D | eval_param.pass.cpp | 27 sqr(T x) in sqr() function 56 double d2 = sqr(dbl); in main() 67 double x_var = p.alpha() * sqr(p.beta()); in main() 97 double d2 = sqr(dbl); in main() 108 double x_var = p.alpha() * sqr(p.beta()); in main() 138 double d2 = sqr(dbl); in main() 149 double x_var = p.alpha() * sqr(p.beta()); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/ |
D | eval.pass.cpp | 25 sqr(T x) in sqr() function 49 double d2 = sqr(dbl); in main() 62 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() 85 double d2 = sqr(dbl); in main() 98 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main()
|
D | eval_param.pass.cpp | 25 sqr(T x) in sqr() function 51 double d2 = sqr(dbl); in main() 64 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() 89 double d2 = sqr(dbl); in main() 102 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
D | eval.pass.cpp | 29 sqr(T x) in sqr() function 75 double d2 = sqr(dbl); in test1() 86 double x_var = sqr(b[i+1] - b[i]) / 12; in test1() 138 double d2 = sqr(dbl); in test2() 149 double x_var = sqr(b[i+1] - b[i]) / 12; in test2() 201 double d2 = sqr(dbl); in test3() 212 double x_var = sqr(b[i+1] - b[i]) / 12; in test3() 264 double d2 = sqr(dbl); in test4() 275 double x_var = sqr(b[i+1] - b[i]) / 12; in test4() 327 double d2 = sqr(dbl); in test5() [all …]
|
/external/vulkan-validation-layers/libs/glm/detail/ |
D | func_geometric.inl | 95 genType sqr = x * x; local 96 return sqrt(sqr); 104 T sqr = v.x * v.x + v.y * v.y; local 105 return sqrt(sqr); 113 T sqr = v.x * v.x + v.y * v.y + v.z * v.z; local 114 return sqrt(sqr); 122 T sqr = v.x * v.x + v.y * v.y + v.z * v.z + v.w * v.w; local 123 return sqrt(sqr); 252 T sqr = x.x * x.x + x.y * x.y; local 253 return x * inversesqrt(sqr); [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
D | eval.pass.cpp | 27 sqr(T x) in sqr() function 55 double d2 = sqr(dbl); in test1() 98 double d2 = sqr(dbl); in test2() 141 double d2 = sqr(dbl); in test3() 184 double d2 = sqr(dbl); in test4() 233 double d2 = sqr(dbl); in test5() 282 double d2 = sqr(dbl); in test6() 325 double d2 = sqr(dbl); in test7() 386 double d2 = sqr(dbl); in test9() 435 double d2 = sqr(dbl); in test10() [all …]
|