Home
last modified time | relevance | path

Searched refs:kEpsilon (Results 1 – 7 of 7) sorted by relevance

/external/ceres-solver/internal/ceres/
Dpolynomial_solver_test.cc45 const double kEpsilon = 1e-13; variable
141 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST()
146 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST()
151 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST()
156 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST()
161 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST()
180 ExpectClose(real(0), 42.42, kEpsilon); in TEST()
181 ExpectClose(real(1), 42.42, kEpsilon); in TEST()
182 ExpectClose(std::abs(imag(0)), 4.2, kEpsilon); in TEST()
183 ExpectClose(std::abs(imag(1)), 4.2, kEpsilon); in TEST()
[all …]
Dpartitioned_matrix_view_test.cc47 const double kEpsilon = 1e-14; variable
101 EXPECT_NEAR(y1(i), y2(i), kEpsilon); in TEST_F()
126 EXPECT_NEAR(y1(i), y2(i), kEpsilon); in TEST_F()
152 kEpsilon); in TEST_F()
169 EXPECT_NEAR(block_diagonal_ee->values()[0], 10.0, kEpsilon); in TEST_F()
170 EXPECT_NEAR(block_diagonal_ee->values()[1], 155.0, kEpsilon); in TEST_F()
185 EXPECT_NEAR(block_diagonal_ff->values()[0], 70.0, kEpsilon); in TEST_F()
186 EXPECT_NEAR(block_diagonal_ff->values()[1], 17.0, kEpsilon); in TEST_F()
187 EXPECT_NEAR(block_diagonal_ff->values()[2], 37.0, kEpsilon); in TEST_F()
Diterative_schur_complement_solver_test.cc57 const double kEpsilon = 1e-14; variable
100 if (diff < kEpsilon) { in TestSolver()
105 << " solution by " << diff << " which is more than " << kEpsilon; in TestSolver()
Dimplicit_schur_complement_test.cc53 const double kEpsilon = 1e-14; variable
141 if ((y - z).norm() > kEpsilon) { in TestImplicitSchurComplement()
150 if ((isc.rhs() - rhs).norm() > kEpsilon) { in TestImplicitSchurComplement()
165 if ((sol - reference_solution).norm() > kEpsilon) { in TestImplicitSchurComplement()
Ddogleg_strategy_test.cc122 const double kEpsilon = std::numeric_limits<double>::epsilon(); variable
148 EXPECT_LE(x_.norm(), options_.initial_radius * (1.0 + 4.0 * kEpsilon)); in TEST_F()
168 EXPECT_LE(x_.norm(), options_.initial_radius * (1.0 + 4.0 * kEpsilon)); in TEST_F()
Dtrust_region_minimizer.cc58 const double kEpsilon = 1e-12; variable
186 max(iteration_summary.gradient_max_norm, kEpsilon); in Minimize()
Dconjugate_gradients_solver.cc59 const double kEpsilon = 2.2204e-16; variable