Searched refs:kTolerance (Results 1 – 9 of 9) sorted by relevance
/external/ceres-solver/internal/ceres/ |
D | block_random_access_sparse_matrix_test.cc | 98 double kTolerance = 1e-14; in TEST() local 103 kTolerance); in TEST() 107 kTolerance); in TEST() 111 kTolerance); in TEST() 115 kTolerance); in TEST() 119 kTolerance); in TEST()
|
D | rotation_test.cc | 56 static double const kTolerance = numeric_limits<double>::epsilon() * 10; variable 72 if (fabs(norm2 - 1.0) > kTolerance) { 94 if (fabs(arg[i] - expected[i]) > kTolerance) { 106 if (fabs(arg[i] + expected[i]) > kTolerance) { 140 if (fabs(arg[i] - expected[i]) > kTolerance) { 165 if (fabs(expected - v) > kTolerance) { 188 if (fabs(arg[i] - expected[i]) > kTolerance) { 646 return absdiff <= kTolerance; in IsClose() 649 return reldiff <= kTolerance; in IsClose() 824 ExpectArraysClose(9, Q[0], Rq[0], kTolerance); in TEST() [all …]
|
D | dogleg_strategy_test.cc | 120 const double kTolerance = 1e-14; variable 216 EXPECT_NEAR(basis.col(0).norm(), 1.0, kTolerance); in TEST_F() 217 EXPECT_NEAR(basis.col(1).norm(), 1.0, kTolerance); in TEST_F() 218 EXPECT_NEAR(basis.col(0).dot(basis.col(1)), 0.0, kTolerance); in TEST_F() 224 kTolerance); in TEST_F() 230 kTolerance); in TEST_F()
|
D | local_parameterization_test.cc | 160 const double kTolerance = 1e-14; in QuaternionParameterizationTestHelper() local 168 EXPECT_NEAR(x_plus_delta[i], x_plus_delta_ref[i], kTolerance); in QuaternionParameterizationTestHelper() 177 EXPECT_NEAR(x_plus_delta_norm, 1.0, kTolerance); in QuaternionParameterizationTestHelper() 192 EXPECT_NEAR(jacobian[i], jacobian_ref[i], kTolerance) in QuaternionParameterizationTestHelper()
|
D | jet_test.cc | 61 double const kTolerance = 1e-13; variable 64 ExpectClose(x.a, y.a, kTolerance); in ExpectJetsClose() 65 ExpectClose(x.v[0], y.v[0], kTolerance); in ExpectJetsClose() 66 ExpectClose(x.v[1], y.v[1], kTolerance); in ExpectJetsClose()
|
D | levenberg_marquardt_strategy_test.cc | 50 const double kTolerance = 1e-16; variable 71 EXPECT_NEAR(per_solve_options.D[i], diagonal_[i], kTolerance) in SolveImpl()
|
D | visibility_based_preconditioner_test.cc | 59 static const double kTolerance = 1e-12; variable 165 if (diff > kTolerance) { in PreconditionerValuesMatch() 300 EXPECT_NEAR(max_relative_difference, 0.0, kTolerance); in TEST_F()
|
D | autodiff_test.cc | 372 const double kTolerance = 1e-14; in TEST() local 374 EXPECT_NEAR(J_x[2 * i + 0], i * x[1] * x[1], kTolerance) << "i: " << i; in TEST() 375 EXPECT_NEAR(J_x[2 * i + 1], 2 * i * x[0] * x[1], kTolerance) << "i: " << i; in TEST()
|
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 471 static const SkScalar kTolerance = SK_Scalar1; in convertCubicToQuads() local 472 const SkScalar tolSqd = SkScalarSquare(SkScalarMul(tolScale, kTolerance)); in convertCubicToQuads()
|