/external/opencv3/modules/core/test/ |
test_conjugate_gradient.cpp | 53 double tol = 1e-2; local 54 ASSERT_TRUE(std::abs(res-etalon_res)<tol); 56 ASSERT_TRUE(std::abs((*it1)-(*it2))<tol);
|
test_downhill_simplex.cpp | 61 double tol=1e-2;//solver->getTermCriteria().epsilon; local 62 ASSERT_TRUE(std::abs(res-etalon_res)<tol); 64 ASSERT_TRUE(std::abs((*it1)-(*it2))<tol);
|
/external/eigen/bench/spbench/ |
spbenchsolver.cpp | 62 double tol = 1e-08; local 65 tol = atof(inval.c_str()); 71 Browse_Matrices<double>(matrix_dir, statFileExists, statFile,maxiters, tol); 74 Browse_Matrices<std::complex<double> >(matrix_dir, statFileExists, statFile, maxiters, tol);
|
/external/skia/tests/ |
ClipCubicTest.cpp | 44 float tol) { 46 if (SkScalarAbs(c0[i].fX - c1[i].fX) > tol || 47 SkScalarAbs(c0[i].fY - c1[i].fY) > tol 83 const float tol = 1e-4f; local 91 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol)); 99 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol)); 107 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol)); 125 shouldbe), tol)); 137 shouldbe), tol)); 149 shouldbe), tol)); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
HighamHall54Integrator.java | 120 final double tol = (vecAbsoluteTolerance == null) ? local 123 final double ratio = h * errSum / tol;
|
DormandPrince54Integrator.java | 146 final double tol = (vecAbsoluteTolerance == null) ? local 149 final double ratio = h * errSum / tol;
|
DormandPrince853Integrator.java | 265 final double tol = (vecAbsoluteTolerance == null) ? local 268 final double ratio1 = errSum1 / tol; 270 final double ratio2 = errSum2 / tol;
|
AdamsBashforthIntegrator.java | 238 final double tol = (vecAbsoluteTolerance == null) ? local 241 final double ratio = nordsieck.getEntry(lastRow, i) / tol;
|
AdamsMoultonIntegrator.java | 401 final double tol = (vecAbsoluteTolerance == null) ? local 404 final double ratio = (after[i] - before[i]) / tol;
|
GraggBulirschStoerIntegrator.java | 608 final double tol = local 610 final double log10R = FastMath.log10(FastMath.max(1.0e-10, tol)); [all...] |
/external/skia/src/core/ |
SkCubicClipper.cpp | 37 const SkScalar tol = SK_Scalar1 / 16384; // This leaves 2 fixed noise bits. local 53 converged = SkScalarAbs(t1 - t0) <= tol; // NaN-safe 83 const SkScalar tol = SK_Scalar1 / 65536; // 1 for fixed, 1e-5 for float. 100 } while (!(SkScalarAbs(tPos - tNeg) <= tol)); // Nan-safe
|
SkBitmapProcState.cpp | 102 const SkScalar tol = SK_Scalar1 / 32768; local 104 if (!SkScalarNearlyZero(matrix[SkMatrix::kMScaleX] - SK_Scalar1, tol)) { 107 if (!SkScalarNearlyZero(matrix[SkMatrix::kMScaleY] - SK_Scalar1, tol)) {
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
ConjugateGradient.h | 38 RealScalar tol = tol_error; local 53 RealScalar threshold = tol*tol*rhsNorm2;
|
BiCGSTAB.h | 38 RealScalar tol = tol_error; local 62 RealScalar tol2 = tol*tol;
|
/external/opencv3/modules/photo/src/ |
contrast_preserve.cpp | 67 double tol = .0001; local 99 while(sqrt(pow(E-pre_E,2)) > tol)
|
/external/skia/src/utils/ |
SkParsePath.cpp | 242 const SkScalar tol = SK_Scalar1 / 1024; // how close to a quad local 244 const SkPoint* quadPts = quadder.computeQuads(pts, iter.conicWeight(), tol);
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
GMRES.h | 67 RealScalar tol = tol_error; local 77 if(abs(r0.norm()) < tol) { 150 bool stop=(k==m || abs(w(k)) < tol || iters == maxIters);
|
/external/skia/samplecode/ |
SamplePath.cpp | 333 const SkScalar tol = 4; variable 334 const SkRect r = SkRect::MakeXYWH(x - tol, y - tol, tol * 2, tol * 2);
|
SampleFatBits.cpp | 501 SkScalar tol = 12; variable 504 if (fPts[i].equalsWithinTolerance(pt, tol)) {
|
/external/skia/src/effects/ |
SkAvoidXfermode.cpp | 198 str.appendf("Color: 0x%08x Tol: %d Mode: %s", 205 uint8_t tol() const { return fTolerance; } function in class:AvoidFP 316 256.0f/(avoid.tol()+1.0f)); 367 uint8_t tol() const { return fTolerance; } function in class:AvoidXP 445 256.0f/(avoid.tol()+1.0f));
|
/external/skia/src/gpu/batches/ |
GrTessellatingPathRenderer.cpp | 48 bool cache_match(GrVertexBuffer* vertexBuffer, SkScalar tol, int* actualCount) { 55 if (info->fTolerance == 0 || info->fTolerance < 3.0f * tol) { 128 SkScalar tol = GrPathUtils::scaleToleranceToSrc(screenSpaceTol, fViewMatrix, pathBounds); local 131 int count = GrTessellator::PathToTriangles(path, tol, fClipBounds, resourceProvider, 135 info.fTolerance = isLinear ? 0 : tol; 165 SkScalar tol = GrPathUtils::scaleToleranceToSrc( variable 167 if (!cache_match(vertexBuffer.get(), tol, &actualCount)) {
|
GrDefaultPathRenderer.cpp | 665 SkScalar tol = GrPathUtils::kDefaultTolerance; local 666 SkScalar srcSpaceTol = GrPathUtils::scaleToleranceToSrc(tol, viewMatrix, path.getBounds()); 765 SkScalar tol = GrPathUtils::kDefaultTolerance; local 766 SkScalar srcSpaceTol = GrPathUtils::scaleToleranceToSrc(tol, viewMatrix, bounds);
|
/external/skia/src/pdf/ |
SkPDFUtils.cpp | 164 const SkScalar tol = SK_Scalar1 / 4; local 166 const SkPoint* quads = converter.computeQuads(args, iter.conicWeight(), tol);
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
strtodg.c | 351 double adj0, tol; local 1057 tol = dval(&adj) * 5e-16; /* > max rel error */ 1059 if (dval(&adj) < -tol) { 1060 if (adj0 > tol) { 1065 else if (dval(&adj) > tol && adj0 < 1. - tol) {
|
/external/ceres-solver/internal/ceres/ |
autodiff_test.cc | 161 double const tol = 1e-10; // floating-point tolerance. local 201 ASSERT_NEAR(ad_x1[i], b_x[i], tol); 216 ASSERT_NEAR(ad_x2[i], b_x[i], tol); 226 ASSERT_NEAR(J_PX[(12 + 4) * i + j], J_P[12 * i + j], tol); 229 ASSERT_NEAR(J_PX[(12 + 4) * i + 12 + j], J_X[4 * i + j], tol); 282 double const tol = 1e-10; // floating-point tolerance. local 309 ASSERT_NEAR(fd_x[i], b_x[i], tol); 323 ASSERT_NEAR(ad_x[i], b_x[i], tol);
|