HomeSort by relevance Sort by last modified time
    Searched refs:epsilon (Results 1 - 25 of 281) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/opencv3/modules/core/misc/java/src/java/
core+TermCriteria.java 21 public double epsilon; field in class:TermCriteria
30 * @param epsilon
33 public TermCriteria(int type, int maxCount, double epsilon) {
36 this.epsilon = epsilon;
54 epsilon = vals.length > 2 ? (double) vals[2] : 0;
58 epsilon = 0;
63 return new TermCriteria(type, maxCount, epsilon);
75 temp = Double.doubleToLongBits(epsilon);
85 return type == it.type && maxCount == it.maxCount && epsilon == it.epsilon
    [all...]
  /external/opencv3/3rdparty/openexr/Imath/
ImathLimits.h 78 // epsilon() smallest possible e of type T, for which
122 static T epsilon();
138 static char epsilon() {return 1;} function in struct:Imath::limits
149 static signed char epsilon() {return 1;} function in struct:Imath::limits
160 static unsigned char epsilon() {return 1;} function in struct:Imath::limits
171 static short epsilon() {return 1;} function in struct:Imath::limits
182 static unsigned short epsilon() {return 1;} function in struct:Imath::limits
193 static int epsilon() {return 1;} function in struct:Imath::limits
204 static unsigned int epsilon() {return 1;} function in struct:Imath::limits
215 static long epsilon() {return 1; function in struct:Imath::limits
226 static unsigned long epsilon() {return 1;} function in struct:Imath::limits
237 static float epsilon() {return FLT_EPSILON;} function in struct:Imath::limits
248 static double epsilon() {return DBL_EPSILON;} function in struct:Imath::limits
259 static long double epsilon() {return LDBL_EPSILON;} function in struct:Imath::limits
    [all...]
ImathHalfLimits.h 58 static float epsilon() {return HALF_EPSILON;} function in struct:Imath::limits
  /external/vulkan-validation-layers/libs/glm/gtx/
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);
vector_query.hpp 58 GLM_FUNC_DECL bool areCollinear(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & epsilon);
63 GLM_FUNC_DECL bool areOrthogonal(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & epsilon);
68 GLM_FUNC_DECL bool isNormalized(vecType<T, P> const & v, T const & epsilon);
73 GLM_FUNC_DECL bool isNull(vecType<T, P> const & v, T const & epsilon);
78 GLM_FUNC_DECL vecType<bool, P> isCompNull(vecType<T, P> const & v, T const & epsilon);
83 GLM_FUNC_DECL bool areOrthonormal(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & epsilon);
  /ndk/tests/device/test-gnustl-full/unit/
math_aux.h 21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon();
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon();
  /ndk/tests/device/test-stlport/unit/
math_aux.h 21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon();
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon();
  /external/skia/src/pathops/
SkPathOpsTypes.cpp 11 static bool arguments_denormalized(float a, float b, int epsilon) {
12 float denormalizedCheck = FLT_EPSILON * epsilon / 2;
18 static bool equal_ulps(float a, float b, int epsilon, int depsilon) {
25 return aBits < bBits + epsilon && bBits < aBits + epsilon;
28 static bool equal_ulps_pin(float a, float b, int epsilon, int depsilon) {
38 return aBits < bBits + epsilon && bBits < aBits + epsilon;
41 static bool d_equal_ulps(float a, float b, int epsilon) {
45 return aBits < bBits + epsilon && bBits < aBits + epsilon
    [all...]
  /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);
  /external/vulkan-validation-layers/libs/glm/gtc/
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...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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);
  /art/test/053-wait-some/src/
Main.java 60 long epsilon = delay / 10; local
61 if (epsilon > 50) {
62 epsilon = 50;
65 long min = delay - epsilon;
66 long max = delay + epsilon;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
PoissonDistributionImpl.java 70 private double epsilon = DEFAULT_EPSILON; field in class:PoissonDistributionImpl
88 * @param epsilon the convergence criteria for cumulative probabilites
92 public PoissonDistributionImpl(double p, double epsilon, int maxIterations) {
94 this.epsilon = epsilon;
102 * @param epsilon the convergence criteria for cumulative probabilites
105 public PoissonDistributionImpl(double p, double epsilon) {
107 this.epsilon = epsilon;
219 return Gamma.regularizedGammaQ((double) x + 1, mean, epsilon, maxIterations)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/special/
Beta.java 66 * @param epsilon When the absolute value of the nth item in the
67 * series is less than epsilon the approximation ceases
73 double epsilon) throws MathException
75 return regularizedBeta(x, a, b, epsilon, Integer.MAX_VALUE);
110 * @param epsilon When the absolute value of the nth item in the
111 * series is less than epsilon the approximation ceases
118 final double b, double epsilon, int maxIterations) throws MathException
127 ret = 1.0 - regularizedBeta(1.0 - x, b, a, epsilon, maxIterations);
153 FastMath.log(a) - logBeta(a, b, epsilon, maxIterations)) *
154 1.0 / fraction.evaluate(x, epsilon, maxIterations)
    [all...]
Gamma.java 151 * @param epsilon When the absolute value of the nth item in the
152 * series is less than epsilon the approximation ceases
160 double epsilon,
173 ret = 1.0 - regularizedGammaQ(a, x, epsilon, maxIterations);
179 while (FastMath.abs(an/sum) > epsilon && n < maxIterations && sum < Double.POSITIVE_INFINITY) {
228 * @param epsilon When the absolute value of the nth item in the
229 * series is less than epsilon the approximation ceases
237 double epsilon,
250 ret = 1.0 - regularizedGammaP(a, x, epsilon, maxIterations);
266 ret = 1.0 / cf.evaluate(x, epsilon, maxIterations)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
SimplexSolver.java 39 protected final double epsilon; field in class:SimplexSolver
50 * @param epsilon the amount of error to accept in floating point comparisons
52 public SimplexSolver(final double epsilon) {
53 this.epsilon = epsilon;
65 if (MathUtils.compareTo(tableau.getEntry(0, i), minValue, epsilon) < 0) {
86 if (MathUtils.compareTo(entry, 0, epsilon) > 0) {
88 if (MathUtils.equals(ratio, minRatio, epsilon)) {
106 if (MathUtils.equals(tableau.getEntry(row, column), 1, epsilon) &&
165 if (!MathUtils.equals(tableau.getEntry(0, tableau.getRhsOffset()), 0, epsilon)) {
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/math/
Vector.java 140 boolean isOnLine (T other, float epsilon);
147 boolean isCollinear (T other, float epsilon);
155 boolean isCollinearOpposite (T other, float epsilon);
165 * @param epsilon a positive small number close to zero */
166 boolean isPerpendicular (T other, float epsilon);
174 /** Compares this vector with the other vector, using the supplied epsilon for fuzzy equality testing.
176 * @param epsilon
178 boolean epsilonEquals (T other, float epsilon);
  /external/opencv3/modules/core/misc/java/test/
TermCriteriaTest.java 41 assertEquals(0.0, tc1.epsilon);
48 assertEquals(0.002, tc2.epsilon);
57 assertEquals(0.0, tc1.epsilon);
66 assertEquals(0.007, tc1.epsilon);
75 assertEquals(EPS, tc2.epsilon);
81 String expected = "{ type: 2, maxCount: 4, epsilon: " + eps + "}";
  /packages/apps/Messaging/src/com/android/messaging/util/
CubicBezierInterpolator.java 75 final float epsilon = 1e-6f; local
91 double derivative = (getX(t + epsilon) - value) / epsilon;
92 if (Math.abs(value - x) < epsilon) {
94 } else if (Math.abs(derivative) < epsilon) {
108 for (int i = 0; Math.abs(value - x) > epsilon && i < iterations; i++) {
  /external/replicaisland/src/com/replica/replicaisland/
Utils.java 21 private static final float EPSILON = 0.0001f;
24 return close(a, b, EPSILON);
27 public final static boolean close(float a, float b, float epsilon) {
28 return Math.abs(a - b) < epsilon;
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
SoftLandingInterpolator.java 42 final float epsilon = Math.min(mI / 2f, (1f - mI) / 2f); local
43 bottom = mI - epsilon;
44 top = mI + epsilon;
  /external/eigen/test/eigen2/
eigen2_prec_inverse_4x4.cpp 24 template<typename T> inline typename NumTraits<T>::Real epsilon() function
26 return std::numeric_limits<typename NumTraits<T>::Real>::epsilon();
42 double error = double( (m*inv-MatrixType::Identity()).norm() / epsilon<Scalar>() );
60 } while(absdet < 10 * epsilon<Scalar>());
62 double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / epsilon<Scalar>() );
  /external/eigen/Eigen/src/Core/
NumTraits.h 45 * \li An epsilon() function which, unlike std::numeric_limits::epsilon(), returns a \a Real instead of a \a T.
46 * \li A dummy_precision() function returning a weak epsilon value. It is mainly used as a default
71 static inline Real epsilon() { return std::numeric_limits<T>::epsilon(); }
120 static inline Real epsilon() { return NumTraits<Real>::epsilon(); }
144 static inline RealScalar epsilon() { return NumTraits<RealScalar>::epsilon(); }
  /external/eigen/test/
prec_inverse_4x4.cpp 22 double error = double( (m*inv-MatrixType::Identity()).norm() / NumTraits<Scalar>::epsilon() );
42 } while(absdet < NumTraits<Scalar>::epsilon());
44 double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / NumTraits<Scalar>::epsilon() );
  /external/eigen/unsupported/Eigen/src/NonLinearOptimization/
chkder.h 25 const Scalar eps = sqrt(NumTraits<Scalar>::epsilon());
26 const Scalar epsf = chkder_factor * NumTraits<Scalar>::epsilon();
56 if (temp > NumTraits<Scalar>::epsilon() && temp < eps)

Completed in 419 milliseconds

1 2 3 4 5 6 7 8 91011>>