Home
last modified time | relevance | path

Searched refs:TOL (Results 1 – 13 of 13) sorted by relevance

/third_party/boost/libs/numeric/ublas/test/
Dtest_complex_norms.cpp15 static const double TOL(1.0e-5); ///< Used for comparing two real numbers. variable
26 BOOST_UBLAS_TEST_CHECK(std::abs(norm_inf(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF()
28 BOOST_UBLAS_TEST_CHECK(std::abs(norm_inf(v) - (3.0*expected)) < TOL); in BOOST_UBLAS_TEST_DEF()
40 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF()
42 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - (3.0*expected)) < TOL); in BOOST_UBLAS_TEST_DEF()
54 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2_square(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF()
56 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2_square(v) - (9.0*expected)) < TOL); in BOOST_UBLAS_TEST_DEF()
71 BOOST_UBLAS_TEST_CHECK(std::abs(norm_inf(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF()
73 BOOST_UBLAS_TEST_CHECK(std::abs(norm_inf(v) - (3.0*expected)) < TOL); in BOOST_UBLAS_TEST_DEF()
87 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF()
[all …]
Dtest_scaled_norm.cpp12 static const double TOL(1.0e-5); ///< Used for comparing two real numbers. variable
21 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF()
31 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF()
Dtest_inplace_solve.cpp13 static const double TOL(1.0e-5); ///< Used for comparing two real numbers. variable
62 BOOST_UBLAS_TEST_CHECK(diff(ublas::triangular_adaptor<mat, ublas::lower>(A), x, b) < TOL); in BOOST_UBLAS_TEST_DEF()
67 BOOST_UBLAS_TEST_CHECK(diff (ublas::triangular_adaptor<mat, ublas::upper>(A), x, b) < TOL); in BOOST_UBLAS_TEST_DEF()
72 … BOOST_UBLAS_TEST_CHECK(diff (trans(ublas::triangular_adaptor<mat, ublas::lower>(A)), x, b) < TOL); in BOOST_UBLAS_TEST_DEF()
77 …BOOST_UBLAS_TEST_CHECK(diff (trans(ublas::triangular_adaptor<mat, ublas::upper>(A)), x , b) < TOL); in BOOST_UBLAS_TEST_DEF()
Dtest_coordinate_vector_inplace_merge.cpp19 const double TOL = 1e-15; variable
71 bool identical = compare_distance(vector_coord, vector_dense, TOL); in BOOST_UBLAS_TEST_DEF()
76 BOOST_UBLAS_TEST_CHECK( compare_distance(vector_coord, vector_dense, TOL) ); in BOOST_UBLAS_TEST_DEF()
89 bool identical = compare_distance(vector_coord, vector_dense, TOL); in BOOST_UBLAS_TEST_DEF()
Dbegin_end.cpp23 static const double TOL(1.0e-5); ///< Used for comparing two real numbers. variable
52 BOOST_UBLAS_TEST_CHECK( std::abs(*it - v(ix)) <= TOL ); in BOOST_UBLAS_TEST_DEF()
81 BOOST_UBLAS_TEST_CHECK( std::abs(*it - v(ix)) <= TOL ); in BOOST_UBLAS_TEST_DEF()
119 BOOST_UBLAS_TEST_CHECK( std::abs(*inner_it - A(row,col)) <= TOL ); in BOOST_UBLAS_TEST_DEF()
161 BOOST_UBLAS_TEST_CHECK( std::abs(*inner_it - A(row,col)) <= TOL ); in BOOST_UBLAS_TEST_DEF()
Dtest_coordinate_matrix_inplace_merge.cpp22 const double TOL = 1e-15; variable
81 bool identical = compare_distance(matrix_coord, matrix_dense, TOL); in BOOST_UBLAS_TEST_DEF()
86 BOOST_UBLAS_TEST_CHECK( compare_distance(matrix_coord, matrix_dense, TOL) ); in BOOST_UBLAS_TEST_DEF()
100 bool identical = compare_distance(matrix_coord, matrix_dense, TOL); in BOOST_UBLAS_TEST_DEF()
/third_party/boost/boost/geometry/srs/projections/impl/
Dpj_phi2.hpp52 static const T TOL = 1.0e-10; in pj_phi2() local
66 } while ( geometry::math::abs(dphi) > TOL && --i); in pj_phi2()
Dproj_mdist.hpp129 static const T TOL = 1e-14; in proj_inv_mdist() local
141 if (geometry::math::abs(t) < TOL) /* that is no change */ in proj_inv_mdist()
/third_party/flutter/skia/tests/
DPackedConfigsTextureTest.cpp23 static const uint8_t TOL = 0x4; variable
32 REPORTER_ASSERT(reporter, diff < TOL); in check_component()
/third_party/skia/samplecode/
DSampleQuadStroker.cpp41 const SkScalar TOL = 7; in hittest() local
42 return SkPoint::Distance(target, SkPoint::Make(x, y)) <= TOL; in hittest()
/third_party/flutter/skia/samplecode/
DSampleQuadStroker.cpp40 const SkScalar TOL = 7; in hittest() local
41 return SkPoint::Distance(target, SkPoint::Make(x, y)) <= TOL; in hittest()
/third_party/eudev/hwdb/
D20-acpi-vendor.hwdb6783 acpi:TOL*:
/third_party/icu/icu4j/perf-tests/data/collation/
DTestNames_SerbianSH.txt55209 TOL ANDRAŠ
55210 TOL JOŽEF