Home
last modified time | relevance | path

Searched refs:EPSILON (Results 1 – 25 of 83) sorted by relevance

1234

/external/antlr/tool/src/main/java/org/antlr/tool/
DNFAFactory.java249 transitionBetweenStates(left, right, Label.EPSILON); in build_Epsilon()
342 transitionBetweenStates(A.right, B.left, Label.EPSILON); in build_AB()
358 transitionBetweenStates(startOfAlt, set.left, Label.EPSILON); in build_AlternativeBlockFromSet()
398 transitionBetweenStates(startOfAlt, g.left, Label.EPSILON); in build_AlternativeBlock()
417 transitionBetweenStates(left, g.left, Label.EPSILON); in build_AlternativeBlock()
418 transitionBetweenStates(g.right, blockEndNFAState, Label.EPSILON); in build_AlternativeBlock()
425 transitionBetweenStates(prevAlternative, left, Label.EPSILON); in build_AlternativeBlock()
463 transitionBetweenStates(A.right, blockEndNFAState, Label.EPSILON); in build_Aoptional()
466 transitionBetweenStates(decisionState, emptyAlt, Label.EPSILON); in build_Aoptional()
467 transitionBetweenStates(emptyAlt, blockEndNFAState, Label.EPSILON); in build_Aoptional()
[all …]
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dframe_pair.cc173 if (((dist2_x > EPSILON && dist1_x > EPSILON) || in FillScales()
174 (dist2_x < -EPSILON && dist1_x < -EPSILON)) && in FillScales()
175 ((dist2_y > EPSILON && dist1_y > EPSILON) || in FillScales()
176 (dist2_y < -EPSILON && dist1_y < -EPSILON))) { in FillScales()
204 if (num_items == 0 || sum < EPSILON) { in GetMedian()
Dutils_neon.cc63 SCHECK(NearlyEqual(mean_neon, mean_cpu, EPSILON * num_vals), in ComputeMeanNeon()
101 SCHECK(NearlyEqual(std_dev_neon, std_dev_cpu, EPSILON * num_vals), in ComputeStdDevNeon()
141 EPSILON * num_vals), in ComputeCrossCorrelationNeon()
Dutils.h37 #define EPSILON 0.00001f macro
154 return NearlyEqual(a, b, EPSILON); in NearlyEqual()
366 if (fabs(det) < EPSILON) { in Invert2x2()
Dimage_utils.h285 if (std::abs(correlation - 1.0f) > EPSILON) { in NormalizeImage()
290 SCHECK(std::abs(correlation - 1.0f) < EPSILON, in NormalizeImage()
/external/cldr/tools/java/org/unicode/cldr/util/
DZoneInflections.java43 static private final long EPSILON = 15 * MINUTE; // smallest interval we test field in ZoneInflections
120 while (high - low > EPSILON) { in ZoneInflections()
122 mid = (mid / EPSILON) * EPSILON; // round to nearest possible point in ZoneInflections()
124 mid += EPSILON; in ZoneInflections()
162 - EPSILON; in compareTo()
166 mostRecentDateTime.value = ip1.utcDateTime - EPSILON; in compareTo()
170 mostRecentDateTime.value = ip2.utcDateTime - EPSILON; in compareTo()
/external/tensorflow/tensorflow/contrib/image/python/ops/
Dinterpolate_spline.py26 EPSILON = 0.0000000001 variable
209 r = math_ops.maximum(r, EPSILON)
213 return 0.5 * r * math_ops.log(math_ops.maximum(r, EPSILON))
216 math_ops.maximum(r, EPSILON))
218 r = math_ops.maximum(r, EPSILON)
221 r = math_ops.maximum(r, EPSILON)
/external/icu/icu4c/source/data/translit/
Del_el_Latn_BGN.txt103 [ἘἙ] → Ε ; # GREEK CAPITAL LETTER EPSILON
104 [ἐἑὲέ] → ε ; # GREEK SMALL LETTER EPSILON
105 [ἚἛἜἝῈΈ] → Έ ; # GREEK CAPITAL LETTER EPSILON WITH TONOS
106 [ἒἓἔἕ] → έ ; # GREEK SMALL LETTER EPSILON WITH TONOS
328 ΕΙ → I ; # GREEK CAPITAL LETTER EPSILON + CAPITAL IOTA
329 Ει → I ; # GREEK CAPITAL LETTER EPSILON + SMALL IOTA
330 ει → i ; # GREEK SMALL LETTER EPSILON + SMALL IOTA
331 ΕΪ → EÏ ; # GREEK CAPITAL LETTER EPSILON + CAPITAL IOTA DIAERESIS
332 Εϊ → Eï ; # GREEK CAPITAL LETTER EPSILON + SMALL IOTA DIAERESIS
333 εϊ → eï ; # GREEK SMALL LETTER EPSILON + SMALL IOTA DIAERESIS
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DViewManagerImplTest.java102 private static final double EPSILON = 1e-7; field in ViewManagerImplTest
319 EPSILON); in testRecordCumulative() local
443 EPSILON); in testRecordInterval() local
450 EPSILON); in testRecordInterval() local
462 EPSILON); in testRecordInterval() local
470 EPSILON); in testRecordInterval() local
493 EPSILON); in getViewDoesNotClearStats() local
508 EPSILON); in getViewDoesNotClearStats() local
535 EPSILON); in testRecordCumulativeMultipleTagValues() local
580 EPSILON); in testRecordIntervalMultipleTagValues() local
[all …]
DRecordUtilsTest.java50 private static final double EPSILON = 1e-7; field in RecordUtilsTest
113 assertThat(mutableDistribution.getSumOfSquaredDeviations()).isWithin(EPSILON).of(0); in createMutableAggregation()
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DTensorTest.java39 private static final double EPSILON = 1e-7; field in TensorTest
80 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createWithByteBuffer()
107 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createFromBufferWithNonNativeByteOrder()
123 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createWithTypedBuffer()
187 assertEquals(floats[0], bbuf.asFloatBuffer().get(0), EPSILON); in writeTo()
192 assertEquals(doubles[0], bbuf.asDoubleBuffer().get(0), EPSILON); in writeTo()
219 assertEquals(doubles[0], buf.get(0), EPSILON); in writeTo()
227 assertEquals(floats[0], buf.get(0), EPSILON); in writeTo()
233 assertEquals(doubles[0], buf.get(0), EPSILON); in writeTo()
261 assertArrayEquals(doubles, actual, EPSILON); in writeTo()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DRateLimiterTest.java49 private static final double EPSILON = 1e-8; field in RateLimiterTest
128 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00 in testSimpleAcquireReturnValues()
130 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00, ...which is granted immediately in testSimpleAcquireReturnValues()
131 assertEquals(0.2, limiter.acquire(), EPSILON); // R0.20 in testSimpleAcquireReturnValues()
137 assertEquals(0.0, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast()
139 assertEquals(0.0, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast()
140 assertEquals(0.0, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast()
141 assertEquals(0.2, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredFramebuffer.cpp333 #define EPSILON (1) in iterate() macro
338 if (de::abs((int)data[0] - (int)ref_data[0]) > EPSILON || in iterate()
339 de::abs((int)data[1] - (int)ref_data[1]) > EPSILON || in iterate()
340 de::abs((int)data[2] - (int)ref_data[2]) > EPSILON || in iterate()
341 de::abs((int)data[3] - (int)ref_data[3]) > EPSILON) in iterate()
345 << "Reference value is different than the rendered data (epsilon > " << EPSILON in iterate()
356 #undef EPSILON in iterate()
744 #define EPSILON (1) in iterate() macro
748 if (de::abs((int)pixel[0] - clear_color_int[0]) > EPSILON || in iterate()
749 de::abs((int)pixel[1] - clear_color_int[1]) > EPSILON || in iterate()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DUtils.java21 private static final float EPSILON = 0.0001f; field in Utils
24 return close(a, b, EPSILON); in close()
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/core/
DZerosTest.java34 private static final float EPSILON = 1e-7f; field in ZerosTest
65 assertEquals(0.0f, actual[i][j], EPSILON); in createFloatZeros()
83 assertEquals(0.0, actual[i][j], EPSILON); in createDoubleZeros()
DConstantTest.java41 private static final float EPSILON = 1e-7f; field in ConstantTest
98 assertArrayEquals(floats, result.expect(Float.class).copyTo(actual), EPSILON); in createFloatBuffer()
128 assertArrayEquals(doubles, result.expect(Double.class).copyTo(actual), EPSILON); in createDoubleBuffer()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DEigenDecompositionImpl.java144 final double eps = 10 * rows * columns * MathUtils.EPSILON; in isSymmetric()
498 if (FastMath.abs(realEigenvalues[i])<=MathUtils.EPSILON*maxAbsoluteValue) { in findEigenVectors()
501 if (FastMath.abs(e[i])<=MathUtils.EPSILON*maxAbsoluteValue) { in findEigenVectors()
605 if (FastMath.abs(realEigenvalues[i])<MathUtils.EPSILON*maxAbsoluteValue) { in findEigenVectors()
/external/antlr/tool/src/main/java/org/antlr/analysis/
DLabel.java45 public static final int EPSILON = -5; field in Label
195 return label==EPSILON; in isEpsilon()
DRuleClosureTransition.java49 super(Label.EPSILON, ruleStart); in RuleClosureTransition()
/external/antlr/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
DANTLRv3.g49 EPSILON;
221 | -> ^(ALT[prevToken,"ALT"] EPSILON[prevToken,"EPSILON"] EOA["EOA"])
360 | /* empty rewrite */ -> ^(ALT["ALT"] EPSILON["EPSILON"] EOA["EOA"])
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DANTLRv3.g49 EPSILON;
218 | -> ^(ALT[prevToken,"ALT"] EPSILON[prevToken,"EPSILON"] EOA["EOA"])
365 | /* empty rewrite */ -> ^(ALT["ALT"] EPSILON["EPSILON"] EOA["EOA"])
/external/libopus/celt/
Dvq.c204 if (!(sum > EPSILON && sum < 64)) in op_pvq_search_c()
389 E = EPSILON + celt_inner_prod(X, X, N, arch); in renormalise_vector()
413 Emid = Eside = EPSILON; in stereo_itheta()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
DSimpleScalarValueChecker.java38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
DSimpleRealPointChecker.java38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
DSimpleVectorialValueChecker.java38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;

1234