/external/vulkan-validation-layers/libs/glm/gtx/ |
vector_query.inl | 24 GLM_FUNC_QUALIFIER static bool call(detail::tvec2<T, P> const & v0, detail::tvec2<T, P> const & v1, T const & epsilon) 26 return length(cross(detail::tvec3<T, P>(v0, static_cast<T>(0)), detail::tvec3<T, P>(v1, static_cast<T>(0)))) < epsilon; 33 GLM_FUNC_QUALIFIER static bool call(detail::tvec3<T, P> const & v0, detail::tvec3<T, P> const & v1, T const & epsilon) 35 return length(cross(v0, v1)) < epsilon; 42 GLM_FUNC_QUALIFIER static bool call(detail::tvec4<T, P> const & v0, detail::tvec4<T, P> const & v1, T const & epsilon) 44 return length(cross(detail::tvec3<T, P>(v0), detail::tvec3<T, P>(v1))) < epsilon; 54 GLM_FUNC_QUALIFIER static detail::tvec2<bool, P> call(detail::tvec2<T, P> const & v, T const & epsilon) 57 (abs(v.x) < epsilon), 58 (abs(v.y) < epsilon)); 65 GLM_FUNC_QUALIFIER static detail::tvec3<bool, P> call(detail::tvec3<T, P> const & v, T const & epsilon) [all...] |
matrix_query.inl | 16 GLM_FUNC_QUALIFIER bool isNull(detail::tmat2x2<T, P> const & m, T const & epsilon) 20 result = isNull(m[i], epsilon); 25 GLM_FUNC_QUALIFIER bool isNull(detail::tmat3x3<T, P> const & m, T const & epsilon) 29 result = isNull(m[i], epsilon); 34 GLM_FUNC_QUALIFIER bool isNull(detail::tmat4x4<T, P> const & m, T const & epsilon) 38 result = isNull(m[i], epsilon); 43 GLM_FUNC_QUALIFIER bool isIdentity(matType<T, P> const & m, T const & epsilon) 49 result = abs(m[i][j]) <= epsilon; 51 result = abs(m[i][i] - 1) <= epsilon; 53 result = abs(m[i][j]) <= epsilon; [all...] |
intersect.inl | 25 typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon(); 27 if(d < Epsilon) 51 typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon(); 52 if(a < Epsilon) 84 // typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon(); 92 // if(det < Epsilon) 121 typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon() [all...] |
matrix_query.hpp | 59 GLM_FUNC_DECL bool isNull(detail::tmat2x2<T, P> const & m, T const & epsilon); 64 GLM_FUNC_DECL bool isNull(detail::tmat3x3<T, P> const & m, T const & epsilon); 69 GLM_FUNC_DECL bool isNull(detail::tmat4x4<T, P> const & m, T const & epsilon); 74 GLM_FUNC_DECL bool isIdentity(matType<T, P> const & m, T const & epsilon); 79 GLM_FUNC_DECL bool isNormalized(detail::tmat2x2<T, P> const & m, T const & epsilon); 84 GLM_FUNC_DECL bool isNormalized(detail::tmat3x3<T, P> const & m, T const & epsilon); 89 GLM_FUNC_DECL bool isNormalized(detail::tmat4x4<T, P> const & m, T const & epsilon); 94 GLM_FUNC_DECL bool isOrthogonal(matType<T, P> const & m, T const & epsilon);
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/glm/gtx/ |
vector_query.inl | 24 GLM_FUNC_QUALIFIER static bool call(detail::tvec2<T, P> const & v0, detail::tvec2<T, P> const & v1, T const & epsilon) 26 return length(cross(detail::tvec3<T, P>(v0, static_cast<T>(0)), detail::tvec3<T, P>(v1, static_cast<T>(0)))) < epsilon; 33 GLM_FUNC_QUALIFIER static bool call(detail::tvec3<T, P> const & v0, detail::tvec3<T, P> const & v1, T const & epsilon) 35 return length(cross(v0, v1)) < epsilon; 42 GLM_FUNC_QUALIFIER static bool call(detail::tvec4<T, P> const & v0, detail::tvec4<T, P> const & v1, T const & epsilon) 44 return length(cross(detail::tvec3<T, P>(v0), detail::tvec3<T, P>(v1))) < epsilon; 54 GLM_FUNC_QUALIFIER static detail::tvec2<bool, P> call(detail::tvec2<T, P> const & v, T const & epsilon) 57 (abs(v.x) < epsilon), 58 (abs(v.y) < epsilon)); 65 GLM_FUNC_QUALIFIER static detail::tvec3<bool, P> call(detail::tvec3<T, P> const & v, T const & epsilon) [all...] |
matrix_query.inl | 16 GLM_FUNC_QUALIFIER bool isNull(detail::tmat2x2<T, P> const & m, T const & epsilon) 20 result = isNull(m[i], epsilon); 25 GLM_FUNC_QUALIFIER bool isNull(detail::tmat3x3<T, P> const & m, T const & epsilon) 29 result = isNull(m[i], epsilon); 34 GLM_FUNC_QUALIFIER bool isNull(detail::tmat4x4<T, P> const & m, T const & epsilon) 38 result = isNull(m[i], epsilon); 43 GLM_FUNC_QUALIFIER bool isIdentity(matType<T, P> const & m, T const & epsilon) 49 result = abs(m[i][j]) <= epsilon; 51 result = abs(m[i][i] - 1) <= epsilon; 53 result = abs(m[i][j]) <= epsilon; [all...] |
intersect.inl | 25 typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon(); 27 if(d < Epsilon) 51 typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon(); 52 if(a < Epsilon) 84 // typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon(); 92 // if(det < Epsilon) 121 typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon() [all...] |
matrix_query.hpp | 59 GLM_FUNC_DECL bool isNull(detail::tmat2x2<T, P> const & m, T const & epsilon); 64 GLM_FUNC_DECL bool isNull(detail::tmat3x3<T, P> const & m, T const & epsilon); 69 GLM_FUNC_DECL bool isNull(detail::tmat4x4<T, P> const & m, T const & epsilon); 74 GLM_FUNC_DECL bool isIdentity(matType<T, P> const & m, T const & epsilon); 79 GLM_FUNC_DECL bool isNormalized(detail::tmat2x2<T, P> const & m, T const & epsilon); 84 GLM_FUNC_DECL bool isNormalized(detail::tmat3x3<T, P> const & m, T const & epsilon); 89 GLM_FUNC_DECL bool isNormalized(detail::tmat4x4<T, P> const & m, T const & epsilon); 94 GLM_FUNC_DECL bool isOrthogonal(matType<T, P> const & m, T const & epsilon);
|
/external/eigen/unsupported/test/ |
cxx11_tensor_simple.cpp | 159 Tensor<int, 3> epsilon(3,3,3); 160 epsilon.setZero(); 161 epsilon(0,1,2) = epsilon(2,0,1) = epsilon(1,2,0) = 1; 162 epsilon(2,1,0) = epsilon(0,2,1) = epsilon(1,0,2) = -1; 164 VERIFY_IS_EQUAL((epsilon.size()), 27); 165 VERIFY_IS_EQUAL((epsilon.dimensions()[0]), 3) 297 Tensor<int, 3> epsilon; local [all...] |
/external/skia/src/pathops/ |
SkPathOpsTypes.cpp | 12 static bool arguments_denormalized(float a, float b, int epsilon) { 13 float denormalizedCheck = FLT_EPSILON * epsilon / 2; 19 static bool equal_ulps(float a, float b, int epsilon, int depsilon) { 26 return aBits < bBits + epsilon && bBits < aBits + epsilon; 29 static bool equal_ulps_no_normal_check(float a, float b, int epsilon, int depsilon) { 33 return aBits < bBits + epsilon && bBits < aBits + epsilon; 36 static bool equal_ulps_pin(float a, float b, int epsilon, int depsilon) { 46 return aBits < bBits + epsilon && bBits < aBits + epsilon [all...] |
/external/skqp/src/pathops/ |
SkPathOpsTypes.cpp | 12 static bool arguments_denormalized(float a, float b, int epsilon) { 13 float denormalizedCheck = FLT_EPSILON * epsilon / 2; 19 static bool equal_ulps(float a, float b, int epsilon, int depsilon) { 26 return aBits < bBits + epsilon && bBits < aBits + epsilon; 29 static bool equal_ulps_no_normal_check(float a, float b, int epsilon, int depsilon) { 33 return aBits < bBits + epsilon && bBits < aBits + epsilon; 36 static bool equal_ulps_pin(float a, float b, int epsilon, int depsilon) { 46 return aBits < bBits + epsilon && bBits < aBits + epsilon [all...] |
/external/vulkan-validation-layers/libs/glm/gtc/ |
epsilon.inl | 24 /// @file glm/gtc/epsilon.inl 44 float const & epsilon 47 return abs(x - y) < epsilon; 55 double const & epsilon 58 return abs(x - y) < epsilon; 66 float const & epsilon 69 return abs(x - y) >= epsilon; 77 double const & epsilon 80 return abs(x - y) >= epsilon; 88 T const & epsilon [all...] |
epsilon.hpp | 24 /// @file glm/gtc/epsilon.hpp 35 /// @brief Comparison functions for a user defined epsilon values. 37 /// <glm/gtc/epsilon.hpp> need to be included to use these functionalities. 56 /// Returns the component-wise comparison of |x - y| < epsilon. 64 T const & epsilon); 66 /// Returns the component-wise comparison of |x - y| < epsilon. 74 genType const & epsilon); 76 /// Returns the component-wise comparison of |x - y| < epsilon. 84 typename genType::value_type const & epsilon); 86 /// Returns the component-wise comparison of |x - y| >= epsilon [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/glm/gtc/ |
epsilon.inl | 24 /// @file glm/gtc/epsilon.inl 44 float const & epsilon 47 return abs(x - y) < epsilon; 55 double const & epsilon 58 return abs(x - y) < epsilon; 66 float const & epsilon 69 return abs(x - y) >= epsilon; 77 double const & epsilon 80 return abs(x - y) >= epsilon; 88 T const & epsilon [all...] |
epsilon.hpp | 24 /// @file glm/gtc/epsilon.hpp 35 /// @brief Comparison functions for a user defined epsilon values. 37 /// <glm/gtc/epsilon.hpp> need to be included to use these functionalities. 56 /// Returns the component-wise comparison of |x - y| < epsilon. 64 T const & epsilon); 66 /// Returns the component-wise comparison of |x - y| < epsilon. 74 genType const & epsilon); 76 /// Returns the component-wise comparison of |x - y| < epsilon. 84 typename genType::value_type const & epsilon); 86 /// Returns the component-wise comparison of |x - y| >= epsilon [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
EvaluatorTest.java | 44 private static final float EPSILON = 0.001f; 54 assertEquals(start, result, EPSILON); 57 assertEquals(.5f, result, EPSILON); 60 assertEquals(end, result, EPSILON); 79 assertEquals(start[0], result[0], EPSILON); 80 assertEquals(start[1], result[1], EPSILON); 83 assertEquals(.4f, result[0], EPSILON); 84 assertEquals(.5f, result[1], EPSILON); 87 assertEquals(end[0], result[0], EPSILON); 88 assertEquals(end[1], result[1], EPSILON); [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/rexpr/ |
rexpr.h | 2 #define Epsilon 257 /* epsilon arc (an impossible char value) */
|
/cts/tests/tests/media/src/android/media/cts/ |
DynamicsProcessingTest.java | 45 private static final float EPSILON = 0.00001f; 118 preferredFrameDuration, EPSILON); 148 assertEquals("inputGain is different", DEFAULT_INPUT_GAIN, inputGain, EPSILON); 268 channelTest.getInputGain(), EPSILON); 273 TEST_BAND_INDEX, TEST_GAIN1, preEqBandTest.getGain(), EPSILON); 278 TEST_BAND_INDEX, TEST_GAIN1, mbcBandTest.getPreGain(), EPSILON); 283 TEST_BAND_INDEX, TEST_GAIN1, postEqBandTest.getGain(), EPSILON); 287 TEST_GAIN1, limiterTest.getPostGain(), EPSILON); 292 mDP.getInputGainByChannelIndex(i), EPSILON); 299 mDP.getPreEqBandByChannelIndex(i, TEST_BAND_INDEX).getGain(), EPSILON); [all...] |
/external/libxml2/test/automata/ |
abba | 2 # Tests ab*a with an eliminated epsilon transition
|
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/ |
epsilon.pass.cpp | 12 // epsilon() 22 assert(std::numeric_limits<T>::epsilon() == expected); 23 assert(std::numeric_limits<const T>::epsilon() == expected); 24 assert(std::numeric_limits<volatile T>::epsilon() == expected); 25 assert(std::numeric_limits<const volatile T>::epsilon() == expected);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/language.support/support.limits/limits/numeric.limits.members/ |
epsilon.pass.cpp | 12 // epsilon() 22 assert(std::numeric_limits<T>::epsilon() == expected); 23 assert(std::numeric_limits<const T>::epsilon() == expected); 24 assert(std::numeric_limits<volatile T>::epsilon() == expected); 25 assert(std::numeric_limits<const volatile T>::epsilon() == expected);
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
optimizers.py | 233 epsilon: float >= 0. Fuzz factor. If `None`, defaults to `K.epsilon()`. 238 def __init__(self, lr=0.001, rho=0.9, epsilon=None, decay=0., **kwargs): 245 if epsilon is None: 246 epsilon = K.epsilon() 247 self.epsilon = epsilon 266 new_p = p - lr * g / (K.sqrt(new_a) + self.epsilon) 280 'epsilon': self.epsilo [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
fused_batch_norm_op.cu.cc | 30 double epsilon, T* output) { 32 output[index] = rsqrt(input[index] + T(epsilon)); 38 const T* variance, double epsilon, 43 variance, epsilon, inv_variance); 47 __global__ void InvVarianceToVarianceKernel(int nthreads, double epsilon, 51 T var = __fdividef(1, inv_var * inv_var) - T(epsilon); 60 double epsilon, int sample_size, 65 epsilon, sample_size, variance);
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_ApplyAdadelta.pbtxt | 34 name: "epsilon" 61 update = (update_accum + epsilon).sqrt() * (accum + epsilon()).rsqrt() * grad;
|
api_def_ApplyRMSProp.pbtxt | 34 name: "epsilon" 66 Delta = learning_rate * gradient / sqrt(mean_square + epsilon) 69 mom <- momentum * mom_{t-1} + lr * grad / sqrt(ms + epsilon)
|