Home
last modified time | relevance | path

Searched refs:tolerance_ (Results 1 – 25 of 172) sorted by relevance

1234567

/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/
H A Docrpara.cpp48 return NearlyEqual(lmargin + lindent, margin_ + first_indent_, tolerance_); in ValidFirstLine()
50 return NearlyEqual(rmargin + rindent, margin_ + first_indent_, tolerance_); in ValidFirstLine()
52 return NearlyEqual(lindent, rindent, tolerance_ * 2); in ValidFirstLine()
62 return NearlyEqual(lmargin + lindent, margin_ + body_indent_, tolerance_); in ValidBodyLine()
64 return NearlyEqual(rmargin + rindent, margin_ + body_indent_, tolerance_); in ValidBodyLine()
66 return NearlyEqual(lindent, rindent, tolerance_ * 2); in ValidBodyLine()
80 int tolerance = (tolerance_ + other.tolerance_) / 4; in Comparable()
H A Docrpara.h126 , tolerance_(tolerance) { in ELISTIZEH()
142 , tolerance_(0) {} in ELISTIZEH()
179 return tolerance_; in ELISTIZEH()
184 abs(first_indent_ - body_indent_) <= tolerance_; in ELISTIZEH()
198 int tolerance_; in ELISTIZEH() local
/dports/science/gromacs/gromacs-2021.4/src/testutils/
H A Dtestmatchers.cpp72 FloatTypeMatcher(const FloatingPointTolerance& tolerance) : tolerance_(tolerance) {} in FloatTypeMatcher()
79 if (tolerance_.isWithin(diff)) in MatchAndExplain()
86 << " Tolerance: " << tolerance_.toString(diff); in MatchAndExplain()
99 FloatingPointTolerance tolerance_; member in gmx::test::FloatTypeMatcher
129 RVecMatcher(const FloatingPointTolerance& tolerance) : tolerance_(tolerance) {} in RVecMatcher()
136 FloatTypeMatcher<FloatType> floatTypeMatcher(tolerance_); in MatchAndExplain()
158 FloatingPointTolerance tolerance_; member in gmx::test::RVecMatcher
H A Drefdata_checkers.h151 tolerance_(tolerance) in FloatingPointChecker()
164 if (tolerance_.isWithin(diff)) in checkEntry()
172 << " Tolerance: " << tolerance_.toString(diff); in checkEntry()
177 FloatingPointTolerance tolerance_; variable
186 tolerance_(tolerance) in FloatingPointFromStringChecker()
196 if (tolerance_.isWithin(diff)) in checkEntry()
204 << " Tolerance: " << tolerance_.toString(diff); in checkEntry()
209 FloatingPointTolerance tolerance_; variable
/dports/science/mpqc/mpqc-2.3.1/src/lib/math/optimize/
H A Dscextrap.cc92 tolerance_ = 1.0e-8; in SelfConsistentExtrapolation()
100 s.get(tolerance_); in SelfConsistentExtrapolation()
107 tolerance_ = keyval->doublevalue("tolerance"); in SelfConsistentExtrapolation()
108 if (keyval->error() != KeyVal::OK) tolerance_ = 1.0e-8; in SelfConsistentExtrapolation()
120 s.put(tolerance_); in save_data_state()
H A Dscextrap.h91 double tolerance_; variable
105 void set_tolerance(double t) { tolerance_ = t; } in set_tolerance()
106 double tolerance() { return tolerance_; } in tolerance()
109 int converged() { return errorset_? error_ <= tolerance_ : 0; } in converged()
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Revoropt/include/Revoropt/CVT/
H A Dcomputer.hpp41 tolerance_(0) { in BaseComputer()
85 tolerance_ = tolerance ; in set_tolerance()
108 double tolerance_ ; member in Revoropt::CVT::BaseComputer
199 using Base::tolerance_ ;
221 if(base_len <= tolerance_) return ; in triangle_compute()
227 if(height_len <= tolerance_) return ; in triangle_compute()
236 if(area <= tolerance_) return ; in triangle_compute()
315 if(edge_len <= tolerance_) return ; in edge_compute()
335 if(abs_bsd <= tolerance_) return ; in edge_compute()
434 using Base::tolerance_ ;
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bvgl/
H A Dbvgl_k_nearest_neighbors_3d.h30 tolerance_(tolerance), in tolerance_() function
45 tolerance_(other.tolerance_), in bvgl_k_nearest_neighbors_3d()
91 swap(this->tolerance_, other.tolerance_); in swap()
102 Type tolerance_ = Type(0); variable
149 search_tree_->knn(q, indices, dists2, k, tolerance_, flags_); in knn_indices()
164 search_tree_->knn(q, indices,dists2, k, tolerance_, flags_); in closest_index()
198 search_tree_->knn(q, indices, dists2, k, tolerance_, flags_); in knn_util()
H A Dbvgl_scaled_shape_3d.hxx36 for(Type nd = Type(0); nd<=max_norm_distance_; nd += tolerance_){ in compute_cross_sections()
55 if(dist<-tolerance_)//tolerance below the bottom of the base in nearest_cross_section_index()
61 Type dindex = std::floor(dist/tolerance_); in nearest_cross_section_index()
77 Type dindex = std::floor(alg_dist/tolerance_); in nearest_cross_section_index_unbounded()
203 if(dist<-tolerance_){//tolerance below the bottom of the base in inverse_vector_field()
206 if(dist>(max_nd_+tolerance_)){//tolerance above the apex in inverse_vector_field()
226 Type csect_separation_dist = tolerance_;//undeformed shape in vector_field()
228 if(dist<-tolerance_){//tolerance below the bottom of the base in vector_field()
231 if(dist>(max_norm_distance_+tolerance_)){//tolerance above the apex in vector_field()
/dports/math/dune-fem/dune-fem-d1c625e6d51167d0cce57de6adcef21f548a8f82/dune/fem/solver/
H A Dparameter.hh102 if( tolerance_ < 0 ) in tolerance()
106 tolerance_ = parameter_.getValue< double >( keyPrefix_ + "tolerance", defaultTol ); in tolerance()
115 tolerance_ = absoluteTol__(); in tolerance()
117 tolerance_ = reductionTol__(); in tolerance()
119 else tolerance_ = defaultTol; // no parameter set in tolerance()
122 return tolerance_; in tolerance()
128 tolerance_ = eps; in setTolerance()
259 mutable double tolerance_ = -1.; member
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Tools/Decimater/
H A DModHausdorffT.hh91 Base(_mesh, true), mesh_(Base::mesh()), tolerance_(_error_tolerance) { in ModHausdorffT()
102 return tolerance_; in tolerance()
107 tolerance_ = _e; in set_tolerance()
145 Scalar tolerance_; member in OpenMesh::Decimater::ModHausdorffT
/dports/science/votca/votca-2021.2-18560-gfbe18d971/xtp/xtp-2a31d70/include/votca/xtp/
H A Dnewton_rapson.h44 : max_iterations_(max_iterations), tolerance_(tolerance) {} in NewtonRapson()
47 : max_iterations_(max_iterations), tolerance_(tolerance), alpha_(alpha) {} in NewtonRapson()
61 if (std::abs(step) < tolerance_) { in FindRoot()
79 double tolerance_; variable
/dports/science/votca/votca-2021.2-18560-gfbe18d971/xtp/include/votca/xtp/
H A Dnewton_rapson.h44 : max_iterations_(max_iterations), tolerance_(tolerance) {} in NewtonRapson()
47 : max_iterations_(max_iterations), tolerance_(tolerance), alpha_(alpha) {} in NewtonRapson()
61 if (std::abs(step) < tolerance_) { in FindRoot()
79 double tolerance_; variable
/dports/finance/quantlib/QuantLib-1.20/ql/pricingengines/asian/
H A Dmc_discr_arith_av_strike.hpp142 Real tolerance_; member in QuantLib::MakeMCDiscreteArithmeticASEngine
153 tolerance_(Null<Real>()), brownianBridge_(true), seed_(0) {} in MakeMCDiscreteArithmeticASEngine()
158 QL_REQUIRE(tolerance_ == Null<Real>(), in withSamples()
173 tolerance_ = tolerance; in withAbsoluteTolerance()
213 samples_, tolerance_, in operator ext::shared_ptr<PricingEngine>()
H A Dmc_discr_geom_av_price.hpp153 Real tolerance_; member in QuantLib::MakeMCDiscreteGeometricAPEngine
164 tolerance_(Null<Real>()), brownianBridge_(true), seed_(0) {} in MakeMCDiscreteGeometricAPEngine()
169 QL_REQUIRE(tolerance_ == Null<Real>(), in withSamples()
184 tolerance_ = tolerance; in withAbsoluteTolerance()
224 samples_, tolerance_, in operator ext::shared_ptr<PricingEngine>()
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Tools/Smoother/
H A DSmootherT_impl.hh92 tolerance_ = -1.0; in SmootherT()
280 tolerance_ = _err; in set_absolute_local_error()
292 tolerance_ = -1.0; in disable_local_error_check()
315 else if (tolerance_ >= 0.0) in smooth()
400 if (s > tolerance_) in local_error_check()
402 translation *= (tolerance_ / s); in local_error_check()
/dports/finance/quantlib/QuantLib-1.20/ql/pricingengines/vanilla/
H A Dmceuropeangjrgarchengine.hpp75 Real tolerance_; member in QuantLib::MakeMCEuropeanGJRGARCHEngine
137 tolerance_(Null<Real>()), seed_(0) {} in MakeMCEuropeanGJRGARCHEngine()
160 QL_REQUIRE(tolerance_ == Null<Real>(), in withSamples()
174 tolerance_ = tolerance; in withAbsoluteTolerance()
210 samples_, tolerance_, in operator ext::shared_ptr<PricingEngine>()
H A Dmceuropeanhestonengine.hpp78 Real tolerance_; member in QuantLib::MakeMCEuropeanHestonEngine
140 tolerance_(Null<Real>()), seed_(0) {} in MakeMCEuropeanHestonEngine()
163 QL_REQUIRE(tolerance_ == Null<Real>(), in withSamples()
177 tolerance_ = tolerance; in withAbsoluteTolerance()
213 samples_, tolerance_, in operator ext::shared_ptr<PricingEngine>()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Core/
H A DWorkQueue.h105 void SetTolerance(int tolerance) { tolerance_ = tolerance; } in SetTolerance()
119 int GetTolerance() const { return tolerance_; } in GetTolerance()
155 int tolerance_; variable
/dports/science/py-dlib/dlib-19.22/dlib/svm/
H A Dkcentroid_overloads.h42 scalar_type tolerance_ = 0.001,
48 my_tolerance(tolerance_), in my_remove_oldest_first()
52 DLIB_ASSERT(tolerance_ >= 0 && max_dictionary_size_ > 0, in my_remove_oldest_first()
56 << "\n\t tolerance_: " << tolerance_ in my_remove_oldest_first()
347 scalar_type tolerance_ = 0.001,
353 my_tolerance(tolerance_), in my_remove_oldest_first()
361 << "\n\t tolerance_: " << tolerance_ in my_remove_oldest_first()
702 scalar_type tolerance_ = 0.001,
708 my_tolerance(tolerance_), in my_remove_oldest_first()
985 scalar_type tolerance_ = 0.001,
[all …]
/dports/science/dlib-cpp/dlib-19.22/dlib/svm/
H A Dkcentroid_overloads.h42 scalar_type tolerance_ = 0.001,
48 my_tolerance(tolerance_), in my_remove_oldest_first()
52 DLIB_ASSERT(tolerance_ >= 0 && max_dictionary_size_ > 0, in my_remove_oldest_first()
56 << "\n\t tolerance_: " << tolerance_ in my_remove_oldest_first()
347 scalar_type tolerance_ = 0.001,
353 my_tolerance(tolerance_), in my_remove_oldest_first()
361 << "\n\t tolerance_: " << tolerance_ in my_remove_oldest_first()
702 scalar_type tolerance_ = 0.001,
708 my_tolerance(tolerance_), in my_remove_oldest_first()
985 scalar_type tolerance_ = 0.001,
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/gpu/test/
H A Dvideo_frame_validator.cc326 tolerance_(tolerance) {} in RawVideoFrameValidator()
337 CompareFramesWithErrorDiff(*frame, *model_frame, tolerance_); in Validate()
379 tolerance_(tolerance), in PSNRVideoFrameValidator()
393 if (psnr < tolerance_) in Validate()
409 if (average < tolerance_) { in Passed()
452 tolerance_(tolerance), in SSIMVideoFrameValidator()
466 if (ssim < tolerance_) in Validate()
482 if (average < tolerance_) { in Passed()
/dports/finance/quantlib/QuantLib-1.20/ql/experimental/exoticoptions/
H A Dmchimalayaengine.hpp109 Real tolerance_; member in QuantLib::MakeMCHimalayaEngine
181 tolerance_(Null<Real>()), seed_(0) {} in MakeMCHimalayaEngine()
200 QL_REQUIRE(tolerance_ == Null<Real>(), in withSamples()
214 tolerance_ = tolerance; in withAbsoluteTolerance()
241 tolerance_, in operator ext::shared_ptr<PricingEngine>()
H A Dmcpagodaengine.hpp109 Real tolerance_; member in QuantLib::MakeMCPagodaEngine
183 tolerance_(Null<Real>()), seed_(0) {} in MakeMCPagodaEngine()
202 QL_REQUIRE(tolerance_ == Null<Real>(), in withSamples()
216 tolerance_ = tolerance; in withAbsoluteTolerance()
242 samples_, tolerance_, in operator ext::shared_ptr<PricingEngine>()
/dports/finance/quantlib/QuantLib-1.20/ql/experimental/mcbasket/
H A Dmcamericanpathengine.hpp83 Real tolerance_; member in QuantLib::MakeMCAmericanPathEngine
172 tolerance_(Null<Real>()), seed_(0) {} in MakeMCAmericanPathEngine()
212 QL_REQUIRE(tolerance_ == Null<Real>(), in withSamples()
226 tolerance_ = tolerance; in withAbsoluteTolerance()
267 tolerance_, in operator ext::shared_ptr<PricingEngine>()

1234567