Home
last modified time | relevance | path

Searched defs:tol (Results 1 – 25 of 157) sorted by relevance

1234567

/external/eigen/unsupported/test/
Dmatrix_power.cpp13 void test2dRotation(const T& tol) in test2dRotation()
34 void test2dHyperbolicRotation(const T& tol) in test2dHyperbolicRotation()
56 void test3dRotation(const T& tol) in test3dRotation()
70 void testGeneral(const MatrixType& m, const typename MatrixType::RealScalar& tol) in testGeneral()
100 void testSingular(const MatrixType& m_const, const typename MatrixType::RealScalar& tol) in testSingular()
133 void testLogThenExp(const MatrixType& m_const, const typename MatrixType::RealScalar& tol) in testLogThenExp()
Dmatrix_exponential.cpp27 void test2dRotation(double tol) in test2dRotation()
49 void test2dHyperbolicRotation(double tol) in test2dHyperbolicRotation()
74 void testPascal(double tol) in testPascal()
98 void randomTest(const MatrixType& m, double tol) in randomTest()
/external/pytorch/aten/src/ATen/test/
Dcuda_complex_math_test.cu20 #define C10_ASSERT_NEAR(a, b, tol) assert(abs(a - b) < tol) argument
38 #define C10_ASSERT_NEAR(a, b, tol) ASSERT_NEAR(a, b, tol) argument
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dsvd_op_test.py123 def CompareSingularValues(self, x, y, tol): argument
127 def CompareSingularVectors(self, x, y, rank, tol): argument
144 def CheckApproximation(self, a, u, s, v, full_matrices_, tol): argument
161 def CheckUnitary(self, x, tol): argument
Dself_adjoint_eig_op_test.py121 def CompareEigenVectors(self, x, y, tol): argument
125 def CompareEigenDecompositions(self, x_e, x_v, y_e, y_v, tol): argument
Deig_op_test.py137 def CompareEigenVectors(self, x, y, tol): argument
141 def CompareEigenDecompositions(self, x_e, x_v, y_e, y_v, tol): argument
/external/skia/tests/
DPathCoverageTest.cpp66 static inline uint32_t compute_pointCount(SkScalar d, SkScalar tol) { in compute_pointCount()
81 static uint32_t quadraticPointCount_EC(const SkPoint points[], SkScalar tol) { in quadraticPointCount_EC()
91 static uint32_t quadraticPointCount_CC(const SkPoint points[], SkScalar tol) { in quadraticPointCount_CC()
DClipCubicTest.cpp52 float tol) { in CurvesAreEqual()
91 const float tol = 1e-4f; in DEF_TEST() local
/external/sdv/vsomeip/third_party/boost/numeric/ublas/test/
Dutils.hpp87 bool close_to(T1 x, T2 y, T3 tol) in close_to()
103 bool close_to(::std::complex<T1> const& x, ::std::complex<T2> const& y, T3 tol) in close_to()
122 bool rel_close_to(T1 x, T2 y, T3 tol) in rel_close_to()
138 bool rel_close_to(::std::complex<T1> const& x, ::std::complex<T2> const& y, T3 tol) in rel_close_to()
/external/skia/src/core/
DSkCubicClipper.cpp40 const SkScalar tol = SK_Scalar1 / 16384; // This leaves 2 fixed noise bits. in ChopMonoAtY() local
86 const SkScalar tol = SK_Scalar1 / 65536; // 1 for fixed, 1e-5 for float. in ChopMonoAtY() local
DSkRect.cpp268 float tol) { in QuadContainsRect()
272 bool SkRectPriv::QuadContainsRect(const SkM44& m, const SkRect& a, const SkRect& b, float tol) { in QuadContainsRect()
279 float tol) { in QuadContainsRectMask()
/external/skia/src/gpu/ganesh/ops/
DTriangulatingPathRenderer.cpp97 static sk_sp<SkData> create_data(int numVertices, bool isLinear, SkScalar tol) { in create_data()
102 bool cache_match(const SkData* data, SkScalar tol) { in cache_match()
307 SkScalar tol, in Triangulate()
332 SkScalar tol = GrPathUtils::scaleToleranceToSrc(GrPathUtils::kDefaultTolerance, in createNonAAMesh() local
400 SkScalar tol = GrPathUtils::kDefaultTolerance; in createAAMesh() local
491 SkScalar tol = GrPathUtils::scaleToleranceToSrc(GrPathUtils::kDefaultTolerance, in onPrePrepareDraws() local
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
Dcwise_ops_unary_test.py117 def _check(self, result_tensor, result_np, input_sp_t, tol): argument
127 def _compareSparseCpu(self, x, np_func, tf_func, tol): argument
144 def _compareSparseGpu(self, x, np_func, tf_func, tol): argument
155 def _compareBothSparse(self, x, np_func, tf_func, tol=None): argument
/external/eigen/test/
Deigensolver_complex.cpp16 template<typename MatrixType> bool find_pivot(typename MatrixType::Scalar tol, MatrixType &diffs, I… in find_pivot()
65 …RealScalar tol = test_precision<RealScalar>()*test_precision<RealScalar>()*numext::maxi(vec1.squar… in verify_is_approx_upto_permutation() local
/external/pytorch/c10/test/util/
Dcomplex_math_test.cpp3 #define C10_ASSERT_NEAR(a, b, tol) ASSERT_NEAR(a, b, tol) argument
/external/skia/fuzz/
DFuzzTriangulation.cpp21 SkScalar tol = GrPathUtils::scaleToleranceToSrc(GrPathUtils::kDefaultTolerance, in DEF_FUZZ() local
/external/tensorflow/tensorflow/compiler/xla/service/
Deigh_expander.cc120 auto tol = ScalarLike(w_tr, 1e-6); in HermitianEigenDecomposition2x2() local
314 auto tol = norms.frobenius_sq_norm * Square(values[1]); in Sweeps() local
332 XlaOp tol, w_tl, w_tr, w_bl, w_br, v_tl, v_tr, v_bl, v_br; in Sweeps() local
429 XlaOp EighExpander::BuildEigh(XlaOp a, bool lower, int64_t max_iter, float tol, in BuildEigh()
575 float tol; in ExpandInstruction() local
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
DLevenbergMarquardt.h137 const Scalar tol in lmder1()
365 const Scalar tol in lmstr1()
630 const Scalar tol in lmdif1()
/external/eigen/bench/spbench/
Dspbenchsolver.cpp62 double tol = 1e-08; in main() local
/external/cronet/tot/third_party/libc++/src/test/std/numerics/c.math/
Dhermite.pass.cpp72 Real tol = abs_tol + std::abs(expected) * rel_tol; in operator ()() local
283 Real tol = []() -> Real { in test() local
/external/cronet/stable/third_party/libc++/src/test/std/numerics/c.math/
Dhermite.pass.cpp72 Real tol = abs_tol + std::abs(expected) * rel_tol; in operator ()() local
283 Real tol = []() -> Real { in test() local
/external/apache-commons-math/src/main/java/org/apache/commons/math3/fitting/leastsquares/
DEvaluationRmsChecker.java45 public EvaluationRmsChecker(final double tol) { in EvaluationRmsChecker()
/external/executorch/kernels/optimized/test/
Dmoments_utils_test.cpp24 bool is_close(T val, float ref, float tol = 1e-5) { in is_close()
/external/eigen/unsupported/Eigen/src/Eigenvalues/
DArpackSelfAdjointEigenSolver.h321 std::string eigs_sigma, int options, RealScalar tol) in compute()
334 std::string eigs_sigma, int options, RealScalar tol) in compute()
/external/ComputeLibrary/examples/gemm_tuner/
DGemmTuner.py141 def is_close_to(self, other, tol): argument
144 def is_better_than(self, other, tol): argument
207 def __init__(self, tol=0.01): argument

1234567