/hardware/google/gfxstream/third-party/glm/include/glm/gtx/ |
D | integer.hpp | 34 GLM_FUNC_DECL int sqrt(int x); 59 GLM_FUNC_DECL uint sqrt(uint x);
|
D | matrix_interpolation.inl | 41 axis.x = sqrt(xx); 53 axis.y = sqrt(yy); 65 axis.z = sqrt(zz); 72 …T s = sqrt((mat[2][1] - mat[1][2]) * (mat[2][1] - mat[1][2]) + (mat[2][0] - mat[0][2]) * (mat[2][0…
|
D | integer.inl | 17 // sqrt: From Christopher J. Musial, An integer square root, Graphics Gems, 1990, page 387 18 GLM_FUNC_QUALIFIER int sqrt(int x) function 120 GLM_FUNC_QUALIFIER uint sqrt(uint x) function
|
D | matrix_decompose.inl | 156 s = static_cast<T>(0.5) / sqrt(t); 164 s = sqrt (static_cast<T>(1) + Row[0][0] - Row[1][1] - Row[2][2]) * static_cast<T>(2); // S=4*qx 172 s = sqrt (static_cast<T>(1) + Row[1][1] - Row[0][0] - Row[2][2]) * static_cast<T>(2); // S=4*qy 180 s = sqrt(static_cast<T>(1) + Row[2][2] - Row[0][0] - Row[1][1]) * static_cast<T>(2); // S=4*qz
|
D | polar_coordinates.inl | 14 T const xz_dist(sqrt(tmp.x * tmp.x + tmp.z * tmp.z));
|
D | quaternion.inl | 89 T magnitude = sqrt(x.x * x.x + x.y * x.y + x.z * x.z + x.w *x.w); 123 return -sqrt(w); 155 T fSin = sqrt(T(1) - fCos * fCos); 202 T s = sqrt((T(1) + cosTheta) * static_cast<T>(2));
|
D | gradient_paint.inl | 21 …T Numerator = (D.x * F.x + D.y * F.y) + sqrt(Radius2 * (pow2(D.x) + pow2(D.y)) - pow2(D.x * F.y - …
|
D | intersect.inl | 120 typename genType::value_type t1 = sqrt( sphereRadiusSquered - dSquared ); 161 typename genType::value_type t1 = sqrt( sphereRadius * sphereRadius - dSquared );
|
D | simd_quat.inl | 235 T s = static_cast<T>(0.5) / sqrt(trace); 250 T s = sqrt(m0[0] - m1[1] - m2[2] + T(1.0)) * T(0.5); 264 T s = sqrt(m1[1] - m0[0] - m2[2] + T(1.0)) * T(0.5); 275 T s = sqrt(m2[2] - m0[0] - m1[1] + T(1.0)) * T(0.5); 391 return glm::sqrt(dot(q, q));
|
D | dual_quaternion.inl | 309 T const r = sqrt(T(1) + trace); 318 T const r = sqrt(T(1) + x[0].x - x[1].y - x[2].z); 327 T const r = sqrt(T(1) + x[1].y - x[0].x - x[2].z); 336 T const r = sqrt(T(1) + x[2].z - x[0].x - x[1].y);
|
/hardware/google/gfxstream/third-party/glm/include/glm/detail/ |
D | func_exponential.inl | 37 return detail::functor1<T, T, P, vecType>::call(std::sqrt, x); 46 return static_cast<T>(1) / sqrt(x); 119 // sqrt 120 using std::sqrt; 122 GLM_FUNC_QUALIFIER vecType<T, P> sqrt(vecType<T, P> const & x) function 124 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'sqrt' only accept floating-point inputs"); 132 return static_cast<genType>(1) / sqrt(x);
|
D | func_exponential.hpp | 88 GLM_FUNC_DECL vecType<T, P> sqrt(vecType<T, P> const & v);
|
D | func_geometric.inl | 18 return sqrt(dot(v, v)); 125 return (eta * I - (eta * dotValue + std::sqrt(k)) * N) * static_cast<T>(k >= static_cast<T>(0)); 234 …return (eta * I - (eta * dotValue + sqrt(k)) * N) * static_cast<genType>(k >= static_cast<genType>…
|
D | func_trigonometric.inl | 144 …? static_cast<genType>(1) : static_cast<genType>(0))) * log(std::abs(x) + sqrt(static_cast<genType… 165 return log(x + sqrt(x * x - static_cast<genType>(1)));
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_mathlib.h | 363 return 1.0f / std::sqrt(v); in rsqrt() 373 static inline float sqrt(float v) in sqrt() function 375 return std::sqrt(v); in sqrt()
|
D | astcenc_image.cpp | 412 data_z = (sqrt(data_z) * vfloat(0.5f)) + vfloat(0.5f); in store_image_block() 481 data[ASTCENC_SWZ_Z] = (astc::sqrt(zN) * 0.5f) + 0.5f; in store_image_block() 543 data[ASTCENC_SWZ_Z] = (astc::sqrt(zN) * 0.5f) + 0.5f; in store_image_block()
|
D | astcenc_vecmathlib_none_4.h | 887 ASTCENC_SIMD_INLINE vfloat4 sqrt(vfloat4 a) in sqrt() function 889 return vfloat4(std::sqrt(a.m[0]), in sqrt() 890 std::sqrt(a.m[1]), in sqrt() 891 std::sqrt(a.m[2]), in sqrt() 892 std::sqrt(a.m[3])); in sqrt()
|
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/ |
D | functions.inl | 16 …st<T>(2) * StandardDeviation * StandardDeviation)) / (StandardDeviation * sqrt(static_cast<T>(6.28…
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
D | mlmath.h | 50 #define sqrt(x) ml_sqrt(x) macro
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
D | mlmath.h | 50 #define sqrt(x) ml_sqrt(x) macro
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorEventsChecker.h | 59 float norm = std::sqrt(v.x * v.x + v.y * v.y + v.z * v.z); in checkEvent()
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/UnitTest/ |
D | test_simd.cpp | 859 TEST(vfloat4, sqrt) in TEST() argument 862 vfloat4 r = sqrt(a); in TEST() 863 EXPECT_EQ(r.lane<0>(), std::sqrt(1.0f)); in TEST() 864 EXPECT_EQ(r.lane<1>(), std::sqrt(2.0f)); in TEST() 865 EXPECT_EQ(r.lane<2>(), std::sqrt(3.0f)); in TEST() 866 EXPECT_EQ(r.lane<3>(), std::sqrt(4.0f)); in TEST() 1033 EXPECT_NEAR(r.lane<0>(), 1.0f / astc::sqrt(30.0f), 0.0005f); in TEST() 1034 EXPECT_NEAR(r.lane<1>(), 2.0f / astc::sqrt(30.0f), 0.0005f); in TEST() 1035 EXPECT_NEAR(r.lane<2>(), 3.0f / astc::sqrt(30.0f), 0.0005f); in TEST() 1036 EXPECT_NEAR(r.lane<3>(), 4.0f / astc::sqrt(30.0f), 0.0005f); in TEST() [all …]
|
/hardware/interfaces/gnss/common/utils/vts/ |
D | Utils.cpp | 317 double c = 2 * atan2(sqrt(a), sqrt(1 - a)); in distanceMeters()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/ |
D | README.md | 55 katex.render("c = \\pm\\sqrt{a^2 + b^2}", element, { 64 var html = katex.renderToString("c = \\pm\\sqrt{a^2 + b^2}", {
|
/hardware/google/pixel/pixelstats/ |
D | DropDetect.cpp | 151 float impact_magnitude = sqrt(p->impact_accel_x * p->impact_accel_x + in dropEventFromNanoappPayload()
|