/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
eval.pass.cpp | 27 sqr(T x) function 55 double d2 = sqr(d); 66 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); 67 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - 68 3*x_mean*x_var - sqr(x_mean)*x_mean) / 70 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - 72 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3 [all...] |
eval_param.pass.cpp | 27 sqr(T x) function 56 double d2 = sqr(d); 67 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); 68 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - 69 3*x_mean*x_var - sqr(x_mean)*x_mean) / 71 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - 73 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
eval.pass.cpp | 25 sqr(T x) function 53 double d2 = sqr(d); 64 double x_var = sqr(d.b()) * std::tgamma(1 + 2/d.a()) - sqr(x_mean); 65 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - 66 3*x_mean*x_var - sqr(x_mean)*x_mean) / 68 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - 70 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3 [all...] |
eval_param.pass.cpp | 25 sqr(T x) function 54 double d2 = sqr(d); 65 double x_var = sqr(p.b()) * std::tgamma(1 + 2/p.a()) - sqr(x_mean); 66 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - 67 3*x_mean*x_var - sqr(x_mean)*x_mean) / 69 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - 71 6*sqr(x_mean)*x_var - sqr(sqr(x_mean))) / sqr(x_var) - 3 [all...] |
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
eval.pass.cpp | 27 sqr(T x) function 55 double d2 = sqr(d); 65 double x_mean = std::exp(d.m() + sqr(d.s())/2); 66 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); 67 double x_skew = (std::exp(sqr(d.s())) + 2) * 68 std::sqrt((std::exp(sqr(d.s())) - 1)); 69 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + 70 3*std::exp(2*sqr(d.s())) - 6 [all...] |
eval_param.pass.cpp | 27 sqr(T x) function 57 double d2 = sqr(d); 67 double x_mean = std::exp(p.m() + sqr(p.s())/2); 68 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); 69 double x_skew = (std::exp(sqr(p.s())) + 2) * 70 std::sqrt((std::exp(sqr(p.s())) - 1)); 71 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + 72 3*std::exp(2*sqr(p.s())) - 6 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
eval.pass.cpp | 25 sqr(T x) function 53 double d2 = sqr(d); 63 double x_mean = std::exp(d.m() + sqr(d.s())/2); 64 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); 65 double x_skew = (std::exp(sqr(d.s())) + 2) * 66 std::sqrt((std::exp(sqr(d.s())) - 1)); 67 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + 68 3*std::exp(2*sqr(d.s())) - 6 [all...] |
eval_param.pass.cpp | 25 sqr(T x) function 55 double d2 = sqr(d); 65 double x_mean = std::exp(p.m() + sqr(p.s())/2); 66 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); 67 double x_skew = (std::exp(sqr(p.s())) + 2) * 68 std::sqrt((std::exp(sqr(p.s())) - 1)); 69 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + 70 3*std::exp(2*sqr(p.s())) - 6 [all...] |
/external/vulkan-validation-layers/libs/glm/gtx/ |
fast_square_root.inl | 76 valType sqr = x.x * x.x + x.y * x.y; 77 return fastSqrt(sqr); 86 valType sqr = x.x * x.x + x.y * x.y + x.z * x.z; 87 return fastSqrt(sqr); 96 valType sqr = x.x * x.x + x.y * x.y + x.z * x.z + x.w * x.w; 97 return fastSqrt(sqr); 127 valType sqr = x.x * x.x + x.y * x.y; 128 return x * fastInverseSqrt(sqr); 137 valType sqr = x.x * x.x + x.y * x.y + x.z * x.z; 138 return x * fastInverseSqrt(sqr); [all...] |
/external/pdfium/third_party/lcms2-2.6/src/ |
cmspcs.c | 335 cmsFloat64Number Sqr(cmsFloat64Number v) 343 LCh -> C = pow(Sqr(Lab ->a) + Sqr(Lab ->b), 0.5); 437 return pow(Sqr(dL) + Sqr(da) + Sqr(db), 0.5); 456 dhsq = Sqr(dE) - Sqr(dL) - Sqr(dC); 467 return sqrt(Sqr(dL) + Sqr(dC) / Sqr(sc) + Sqr(dh) / Sqr(sh)) [all...] |
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
eval.pass.cpp | 27 sqr(T x) function 55 double d2 = sqr(d); 66 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; 68 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / 69 (5. * (sqr((double)d.b() - d.a() + 1) - 1)); 96 double d2 = sqr(d); 107 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; 109 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / 110 (5. * (sqr((double)d.b() - d.a() + 1) - 1)); 137 double d2 = sqr(d) [all...] |
eval_param.pass.cpp | 25 sqr(T x) function 55 double d2 = sqr(d); 66 double x_var = (sqr((double)p.b() - p.a() + 1) - 1) / 12; 68 double x_kurtosis = -6. * (sqr((double)p.b() - p.a() + 1) + 1) / 69 (5. * (sqr((double)p.b() - p.a() + 1) - 1));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
eval.pass.cpp | 25 sqr(T x) function 53 double d2 = sqr(d); 64 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; 66 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / 67 (5. * (sqr((double)d.b() - d.a() + 1) - 1)); 94 double d2 = sqr(d); 105 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; 107 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / 108 (5. * (sqr((double)d.b() - d.a() + 1) - 1)); 135 double d2 = sqr(d) [all...] |
eval_param.pass.cpp | 25 sqr(T x) function 55 double d2 = sqr(d); 66 double x_var = (sqr((double)p.b() - p.a() + 1) - 1) / 12; 68 double x_kurtosis = -6. * (sqr((double)p.b() - p.a() + 1) + 1) / 69 (5. * (sqr((double)p.b() - p.a() + 1) - 1));
|
/external/opencv3/modules/videostab/src/ |
outlier_rejection.cpp | 133 if (sqr(x1 - points1_[cell[i]].x) + sqr(y1 - points1_[cell[i]].y) < 134 sqr(ransacParams_.thresh)) 157 if (sqr(x1 - points1_[cell[i]].x) + sqr(y1 - points1_[cell[i]].y) < 158 sqr(ransacParams_.thresh)) 184 if (sqr(x1 - points1_[cell[i]].x) + sqr(y1 - points1_[cell[i]].y) < 185 sqr(ransacParams_.thresh))
|
/external/boringssl/win-x86/crypto/bn/ |
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/llvm/test/Transforms/InstCombine/ |
inline-intrinsic-assert.ll | 17 %call = call float @sqr(float %f1) 22 define float @sqr(float %f) #0 {
|
/ndk/tests/device/test-gnustl-full/unit/ |
foreach_test.cpp | 52 static void sqr(int& a_) function 61 for_each(v1.begin(), v1.end(), ptr_fun(sqr) );
|
/ndk/tests/device/test-stlport/unit/ |
foreach_test.cpp | 52 static void sqr(int& a_) function 61 for_each(v1.begin(), v1.end(), ptr_fun(sqr) );
|
/external/vulkan-validation-layers/libs/glm/detail/ |
func_geometric.inl | 95 genType sqr = x * x; 96 return sqrt(sqr); 104 T sqr = v.x * v.x + v.y * v.y; 105 return sqrt(sqr); 113 T sqr = v.x * v.x + v.y * v.y + v.z * v.z; 114 return sqrt(sqr); 122 T sqr = v.x * v.x + v.y * v.y + v.z * v.z + v.w * v.w; 123 return sqrt(sqr); 252 T sqr = x.x * x.x + x.y * x.y; 253 return x * inversesqrt(sqr); [all...] |
/external/eigen/unsupported/test/ |
BVH.cpp | 38 inline double SQR(double x) { return x * x; } 55 if((b.center - p).squaredNorm() < SQR(b.radius)) 61 bool intersectVolumeObject(const BoxType &r, const BallType &b) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } 62 bool intersectObjectVolume(const BallType &b, const BoxType &r) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } 72 if((b.center - v).squaredNorm() < SQR(b.radius)) 78 double minimumOnObject(const BallType &b) { ++calls; return (std::max)(0., (b.center - p).squaredNorm() - SQR(b.radius)); } 80 double minimumOnVolumeObject(const BoxType &r, const BallType &b) { ++calls; return SQR((std::max)(0., r.exteriorDistance(b.center) - b.radius)); } 81 double minimumOnObjectVolume(const BallType &b, const BoxType &r) { ++calls; return SQR((std::max)(0., r.exteriorDistance(b.center) - b.radius)); } 82 double minimumOnObjectObject(const BallType &b1, const BallType &b2){ ++calls; return SQR((std::max)(0., (b1.center - b2.center).norm() - b1.radius - b2.radius)); } 84 double minimumOnObjectObject(const BallType &b, const VectorType &v){ ++calls; return SQR((std::max)(0., (b.center - v).norm() - b.radius)); [all...] |
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
eval.pass.cpp | 27 sqr(T x) function 55 double d2 = sqr(d); 68 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); 95 double d2 = sqr(d); 108 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); 135 double d2 = sqr(d); 148 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); 175 double d2 = sqr(d); 188 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); 215 double d2 = sqr(d) [all...] |
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/ |
eval.pass.cpp | 27 sqr(T x) function 55 double d2 = sqr(d); 68 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); 95 double d2 = sqr(d); 108 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); 135 double d2 = sqr(d); 148 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); 175 double d2 = sqr(d); 188 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); 213 double d2 = sqr(d) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
eval.pass.cpp | 25 sqr(T x) function 53 double d2 = sqr(d); 66 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); 93 double d2 = sqr(d); 106 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); 133 double d2 = sqr(d); 146 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); 173 double d2 = sqr(d); 186 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); 213 double d2 = sqr(d) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/ |
eval.pass.cpp | 25 sqr(T x) function 53 double d2 = sqr(d); 66 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); 93 double d2 = sqr(d); 106 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); 133 double d2 = sqr(d); 146 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); 173 double d2 = sqr(d); 186 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); 211 double d2 = sqr(d) [all...] |