Home
last modified time | relevance | path

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

/external/ceres-solver/internal/ceres/
Dpolynomial_test.cc46 const double kEpsilon = 1e-13; variable
142 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST()
147 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST()
152 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST()
157 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST()
162 RunPolynomialTestRealRoots(roots, true, true, kEpsilon); in TEST()
181 ExpectClose(real(0), 42.42, kEpsilon); in TEST()
182 ExpectClose(real(1), 42.42, kEpsilon); in TEST()
183 ExpectClose(std::abs(imag(0)), 4.2, kEpsilon); in TEST()
184 ExpectClose(std::abs(imag(1)), 4.2, kEpsilon); in TEST()
[all …]
Dpartitioned_matrix_view_test.cc47 const double kEpsilon = 1e-14; variable
100 EXPECT_NEAR(y1(i), y2(i), kEpsilon); in TEST_F()
120 EXPECT_NEAR(y1(i), y2(i), kEpsilon); in TEST_F()
141 kEpsilon); in TEST_F()
155 EXPECT_NEAR(block_diagonal_ee->values()[0], 10.0, kEpsilon); in TEST_F()
156 EXPECT_NEAR(block_diagonal_ee->values()[1], 155.0, kEpsilon); in TEST_F()
168 EXPECT_NEAR(block_diagonal_ff->values()[0], 70.0, kEpsilon); in TEST_F()
169 EXPECT_NEAR(block_diagonal_ff->values()[1], 17.0, kEpsilon); in TEST_F()
170 EXPECT_NEAR(block_diagonal_ff->values()[2], 37.0, kEpsilon); in TEST_F()
Dimplicit_schur_complement_test.cc53 const double kEpsilon = 1e-14; variable
144 if ((y - z).norm() > kEpsilon) { in TestImplicitSchurComplement()
153 if ((isc.rhs() - rhs).norm() > kEpsilon) { in TestImplicitSchurComplement()
168 if ((sol - reference_solution).norm() > kEpsilon) { in TestImplicitSchurComplement()
Diterative_schur_complement_solver_test.cc57 const double kEpsilon = 1e-14; variable
102 if (diff < kEpsilon) { in TestSolver()
107 << " solution by " << diff << " which is more than " << kEpsilon; in TestSolver()
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()
/external/ceres-solver/google3/
Djet_traits.h40 static const Type kEpsilon;
75 …eres::Jet<T, N> MathLimits<ceres::Jet<T, N> >::kEpsilon = ceres::Jet<T, N>(MathLimits<T>::
/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler_unittest.cc142 static const double kEpsilon = 0.00000005; in TEST() local
152 EXPECT_NEAR(result2, result, kEpsilon); in TEST()
161 EXPECT_NEAR(result2, result, kEpsilon); in TEST()
/external/v8/src/
Dcounters.h418 const double kEpsilon = 1e-6; in AddSample() local
420 if (current_ms < last_ms_ + kEpsilon) { in AddSample()
426 if (end_ms <= current_ms + kEpsilon) { in AddSample()
432 for (i = 0; i < kMaxSamples && end_ms <= current_ms + kEpsilon; i++) { in AddSample()
456 aggregate_value_ = current_ms > start_ms_ + kEpsilon in AddSample()
/external/v8/test/cctest/
Dcctest.h560 const double kEpsilon = 1e-10; in CheckDoubleEquals() local
561 CHECK_LE(expected, actual + kEpsilon); in CheckDoubleEquals()
562 CHECK_GE(expected, actual - kEpsilon); in CheckDoubleEquals()
/external/piex/src/
Dpiex.cc489 const float kEpsilon = 0.9f; in NefGetPreviewData() local
502 kEpsilon || in NefGetPreviewData()
505 kEpsilon) { in NefGetPreviewData()
/external/libchrome/base/metrics/
Dfield_trial.cc62 const double kEpsilon = 1e-8; in GetGroupBoundaryValue() local
64 static_cast<FieldTrial::Probability>(divisor * entropy_value + kEpsilon); in GetGroupBoundaryValue()