/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bsta/ |
H A D | bsta_attributes.h | 26 template <class dist_> 27 class bsta_num_obs : public dist_ 33 typedef dist_ contained_type; 36 bsta_num_obs<dist_>() : dist_(), num_observations(T(0)) {} in dist_() function 39 bsta_num_obs<dist_>(const dist_& d, const T& n_obs = T(0)) 46 template <class dist_> 50 dist_ const& dist = static_cast<dist_ const&>(no); 65 template <class dist_> 76 bsta_vsum_num_obs<dist_>() : dist_(), num_observations(T(0)), vector_sum(vect_t(T(0))) {} 87 template <class dist_> [all …]
|
H A D | bsta_basic_functors.h | 28 template <class dist_> 32 typedef typename dist_::math_type T; 77 template <class dist_> 81 typedef typename dist_::math_type T; 134 typedef typename dist_::math_type T; 157 template <class dist_> 158 class bsta_mean_functor<dist_, typename vpdt_enable_if<vpdt_is_mixture<dist_> >::type > 182 template <class dist_> 186 typedef typename dist_::math_type T; 250 template <class dist_> [all …]
|
H A D | bsta_mixture.h | 30 template <class dist_> 35 typedef dist_ dist_type; 41 typedef typename dist_::math_type T; 54 component(dist_ d, const T& w = T(0) ) 64 dist_ distribution; 94 bsta_mixture<dist_>() = default; 97 bsta_mixture<dist_>(const bsta_mixture<dist_>& other) 107 ~bsta_mixture<dist_>() 115 bsta_mixture<dist_>& operator= (const bsta_mixture<dist_>& rhs) 235 template <class dist_> [all …]
|
H A D | bsta_mixture_fixed.h | 28 template <class dist_, unsigned s> 33 typedef dist_ dist_type; 38 typedef typename dist_::math_type T; 39 typedef typename dist_::vector_type vector_; 48 component(const dist_& d, const T& w = T(0) ) 58 dist_ distribution; 93 bsta_mixture_fixed<dist_,s>(const bsta_mixture_fixed<dist_,s>& other) 103 ~bsta_mixture_fixed<dist_,s>() 107 bsta_mixture_fixed<dist_,s>& operator= (const bsta_mixture_fixed<dist_,s>& rhs) 127 dist_& distribution(unsigned int index) in distribution() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bbgm/ |
H A D | bbgm_measure.h | 29 void measure(bbgm_image_of<dist_>& dimg, in measure() 36 typedef typename dist_::math_type T; in measure() 40 const unsigned d_np = dist_::dimension; in measure() 81 typedef typename dist_::math_type T; in measure_bkground() 85 const unsigned d_np = dist_::dimension; in measure_bkground() 115 void measure(bbgm_image_of<dist_>& dimg, in measure() 123 typedef typename dist_::math_type T; in measure() 127 const unsigned d_np = dist_::dimension; in measure() 159 void measure(bbgm_image_of<dist_>& dimg, in measure() 167 typedef typename dist_::math_type T; in measure() [all …]
|
H A D | bbgm_image_of.hxx | 22 template<class dist_> 24 bbgm_image_of<dist_>::is_a() const in is_a() 30 template<class dist_> 32 bbgm_image_of<dist_>::clone() const in clone() 34 return new bbgm_image_of<dist_>(*this); in clone() 39 template<class dist_> 41 bbgm_image_of<dist_>::version() const in version() 48 template<class dist_> 50 bbgm_image_of<dist_>::b_write(vsl_b_ostream &os) const in b_write() 58 template<class dist_> [all …]
|
H A D | bbgm_detect.h | 29 void detect(bbgm_image_of<dist_>& dimg, in detect() 35 typedef typename dist_::field_type F; in detect() 91 typedef typename dist_::field_type F; in detect_masked() 145 template <class dist_, class detector_> 146 void detect(bbgm_image_of<dist_>& dimg, in detect() 153 typedef typename dist_::math_type T; in detect() 157 const unsigned d_np = dist_::dimension; in detect() 201 template <class dist_, class detector_> 209 typedef typename dist_::math_type T; in detect_masked() 213 const unsigned d_np = dist_::dimension; in detect_masked() [all …]
|
H A D | bbgm_apply.h | 31 static inline void apply(const bbgm_image_of<dist_>& dimg, 76 template <class dist_, class functor_, class T> 77 struct bbgm_apply_no_data<dist_,functor_,T,true> 79 static inline void apply(const bbgm_image_of<dist_>& dimg, 112 template <class dist_, class functor_, class T> 113 void bbgm_apply(const bbgm_image_of<dist_>& dimg, 137 typedef typename dist_::field_type F; 182 template <class dist_, class functor_, class dT, class rT> 183 struct bbgm_apply_data<dist_,functor_,dT,rT,true> 192 typedef typename dist_::field_type F; [all …]
|
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/rabbit_common/mk/ |
H A D | rabbitmq-dist.mk | 62 dist_$(1)_ez = $$(dist_$(1)_ez_dir) 64 dist_$(1)_ez = $$(dist_$(1)_ez_dir).ez 67 $$(dist_$(1)_ez): APP = $(1) 70 $$(dist_$(1)_ez): EZ_DIR = $$(abspath $$(dist_$(1)_ez_dir)) 71 $$(dist_$(1)_ez): EZ = $$(dist_$(1)_ez) 107 dist_$(1)_ez = $$(dist_$(1)_ez_dir).ez 112 $$(dist_$(1)_ez): EZ_DIR = $$(abspath $$(dist_$(1)_ez_dir)) 113 $$(dist_$(1)_ez): EZ = $$(dist_$(1)_ez) 131 dist_$(1)_appdir = $(2) 132 dist_$(1)_appfile = $$(dist_$(1)_appdir)/ebin/$(1).app [all …]
|
/dports/math/fcl05/fcl-0.5.0/include/fcl/BV/ |
H A D | kDOP.h | 114 return dist_[N / 2] - dist_[0]; in width() 120 return dist_[N / 2 + 1] - dist_[1]; in height() 126 return dist_[N / 2 + 2] - dist_[2]; in depth() 144 …return Vec3f(dist_[0] + dist_[N / 2], dist_[1] + dist_[N / 2 + 1], dist_[2] + dist_[N / 2 + 2]) * … in center() 152 FCL_REAL dist_[N]; 157 return dist_[i]; in dist() 162 return dist_[i]; in dist()
|
/dports/math/fcl/fcl-0.7.0/include/fcl/math/bv/ |
H A D | kDOP-inl.h | 102 dist_[i] = dist_[N / 2 + i] = v[i]; in KDOP() 109 dist_[3 + i] = dist_[3 + i + N / 2] = d[i]; in KDOP() 120 minmax(a[i], b[i], dist_[i], dist_[i + N / 2]); in KDOP() 153 if(p[i] < dist_[i] || p[i] > dist_[i + N / 2]) in inside() 175 minmax(p[i], dist_[i], dist_[N / 2 + i]); 195 dist_[i] = std::min(other.dist_[i], dist_[i]); 196 dist_[i + N / 2] = std::max(other.dist_[i + N / 2], dist_[i + N / 2]); 215 return dist_[N / 2] - dist_[0]; in width() 223 return dist_[N / 2 + 1] - dist_[1]; in height() 231 return dist_[N / 2 + 2] - dist_[2]; in depth() [all …]
|
/dports/math/fcl05/fcl-0.5.0/src/BV/ |
H A D | kDOP.cpp | 125 dist_[i] = dist_[N / 2 + i] = v[i]; in KDOP() 132 dist_[3 + i] = dist_[3 + i + N / 2] = d[i]; in KDOP() 141 minmax(a[i], b[i], dist_[i], dist_[i + N / 2]); in KDOP() 158 if(dist_[i] > other.dist_[i + N / 2]) return false; in overlap() 159 if(dist_[i + N / 2] < other.dist_[i]) return false; in overlap() 170 if(p[i] < dist_[i] || p[i] > dist_[i + N / 2]) in inside() 178 if(d[i] < dist_[3 + i] || d[i] > dist_[i + 3 + N / 2]) in inside() 190 minmax(p[i], dist_[i], dist_[N / 2 + i]); in operator +=() 197 minmax(pd[i], dist_[3 + i], dist_[3 + N / 2 + i]); in operator +=() 208 dist_[i] = std::min(other.dist_[i], dist_[i]); in operator +=() [all …]
|
/dports/science/py-ase/ase-3.22.0/ase/data/ |
H A D | s22.py | 2946 dist_ = str(dist) 2947 if dist_ not in ['0.9','1.0','1.2','1.5','2.0']: 2951 dist = dist_ 2969 s22_,s22x5_,s22_name,dist_ = identify_s22_sys(name,dist) 2992 if dist_ == '0.9': 2994 elif dist_ == '1.0': 2996 elif dist_ == '1.2': 2998 elif dist_ == '1.5': 3000 elif dist_ == '2.0': 3036 x10 = data[s22_name]['positions '+dist_][0][0] [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/brip/ |
H A D | brip_region_pixel.h | 34 int dist_; variable 38 count_(0), label_(0), dist_(0) {} in brip_region_pixel() 41 cost_(p.cost_), count_(p.count_), label_(p.label_), dist_(p.dist_) {} in brip_region_pixel() 52 dist_ = dx * dx + dy * dy; in brip_region_pixel() 68 dist_ = dx * dx + dy * dy; in set() 79 if (r.dist_ == l.dist_) return r.count_ < l.count_; in operator() 81 return r.dist_ < l.dist_; in operator() 93 if (r->dist_ == l->dist_) return r->count_ < l->count_; in operator() 95 return r->dist_ < l->dist_; in operator()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bsta/algo/ |
H A D | bsta_truth_updater.h | 20 template <class dist_, class updater_> 24 typedef typename dist_::math_type T; 25 typedef typename dist_::vector_type sub_vector_; 26 typedef vnl_vector_fixed<T,dist_::dimension+1> vector_; 30 typedef dist_ distribution_type; 33 enum {data_dimension = dist_::dimension+1}; 35 bsta_truth_updater (const dist_& model, const updater_& updater) in bsta_truth_updater() 39 void operator() ( bsta_mixture<dist_>& mixture, const vector_& sample ) const in operator() 45 unsigned int index = static_cast<unsigned int>(sample[dist_::dimension]); in operator() 56 dist_ model_dist_;
|
/dports/graphics/colmap/colmap-3.6/lib/FLANN/util/ |
H A D | result_set.h | 69 dist_(dist), index_(index) in DistanceIndex() 74 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 76 DistanceType dist_; member 168 dist_index_[i].dist_ = dist; in addPoint() 185 *dists++ = dist_index_[i].dist_; 267 dist_index_[i].dist_ = dist; in addPoint() 284 *dists++ = dist_index_[i].dist_; 404 *dists++ = dist_index_[i].dist_; 715 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 717 DistanceType dist_; member [all …]
|
/dports/math/flann/flann-1.9.1-29-g1d04523/src/cpp/flann/util/ |
H A D | result_set.h | 69 dist_(dist), index_(index) in DistanceIndex() 74 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 76 DistanceType dist_; member 168 dist_index_[i].dist_ = dist; in addPoint() 185 *dists++ = dist_index_[i].dist_; 267 dist_index_[i].dist_ = dist; in addPoint() 284 *dists++ = dist_index_[i].dist_; 404 *dists++ = dist_index_[i].dist_; 715 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 717 DistanceType dist_; member [all …]
|
/dports/graphics/hugin/hugin-2020.0.0/src/foreign/flann/util/ |
H A D | result_set.h | 69 dist_(dist), index_(index) in DistanceIndex() 74 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 76 DistanceType dist_; member 170 dist_index_[i].dist_ = dist; in addPoint() 187 *dists++ = dist_index_[i].dist_; 271 dist_index_[i].dist_ = dist; in addPoint() 288 *dists++ = dist_index_[i].dist_; 408 *dists++ = dist_index_[i].dist_; 719 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 721 DistanceType dist_; member [all …]
|
/dports/misc/openmvg/openMVG-2.0/src/third_party/flann/src/cpp/flann/util/ |
H A D | result_set.h | 69 dist_(dist), index_(index) in DistanceIndex() 74 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 76 DistanceType dist_; member 168 dist_index_[i].dist_ = dist; in addPoint() 185 *dists++ = dist_index_[i].dist_; 269 dist_index_[i].dist_ = dist; in addPoint() 286 *dists++ = dist_index_[i].dist_; 406 *dists++ = dist_index_[i].dist_; 717 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 719 DistanceType dist_; member [all …]
|
/dports/graphics/open3d/Open3D-0.2/src/External/flann/util/ |
H A D | result_set.h | 69 dist_(dist), index_(index) in DistanceIndex() 74 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 76 DistanceType dist_; member 168 dist_index_[i].dist_ = dist; in addPoint() 185 *dists++ = dist_index_[i].dist_; 269 dist_index_[i].dist_ = dist; in addPoint() 286 *dists++ = dist_index_[i].dist_; 406 *dists++ = dist_index_[i].dist_; 717 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 719 DistanceType dist_; member [all …]
|
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/flann/util/ |
H A D | result_set.h | 69 dist_(dist), index_(index) in DistanceIndex() 74 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 76 DistanceType dist_; member 168 dist_index_[i].dist_ = dist; in addPoint() 185 *dists++ = dist_index_[i].dist_; 269 dist_index_[i].dist_ = dist; in addPoint() 286 *dists++ = dist_index_[i].dist_; 406 *dists++ = dist_index_[i].dist_; 717 … return (dist_ < dist_index.dist_) || ((dist_ == dist_index.dist_) && index_ < dist_index.index_); 719 DistanceType dist_; member [all …]
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/range-v3/include/range/v3/action/ |
H A D | slice.hpp | 102 RANGES_EXPECT(0 <= from && to.dist_ <= 0); 103 RANGES_EXPECT(!sized_range<Rng> || from - to.dist_ <= distance(rng)); 105 if(to.dist_ != 0) 108 ranges::actions::erase(rng, prev(last, -to.dist_), last); 120 RANGES_EXPECT(from.dist_ <= 0 && to.dist_ <= 0 && from.dist_ <= to.dist_); 121 RANGES_EXPECT(!sized_range<Rng> || 0 <= distance(rng) + from.dist_); 123 ranges::actions::erase(rng, prev(last, -to.dist_), last); 126 rng, begin(rng), prev(last, to.dist_ - from.dist_)); 148 RANGES_EXPECT(from.dist_ <= 0); 149 RANGES_EXPECT(!sized_range<Rng> || 0 <= distance(rng) + from.dist_); [all …]
|
/dports/devel/range-v3/range-v3-0.11.0/include/range/v3/action/ |
H A D | slice.hpp | 102 RANGES_EXPECT(0 <= from && to.dist_ <= 0); 103 RANGES_EXPECT(!sized_range<Rng> || from - to.dist_ <= distance(rng)); 105 if(to.dist_ != 0) 108 ranges::actions::erase(rng, prev(last, -to.dist_), last); 120 RANGES_EXPECT(from.dist_ <= 0 && to.dist_ <= 0 && from.dist_ <= to.dist_); 121 RANGES_EXPECT(!sized_range<Rng> || 0 <= distance(rng) + from.dist_); 123 ranges::actions::erase(rng, prev(last, -to.dist_), last); 126 rng, begin(rng), prev(last, to.dist_ - from.dist_)); 148 RANGES_EXPECT(from.dist_ <= 0); 149 RANGES_EXPECT(!sized_range<Rng> || 0 <= distance(rng) + from.dist_); [all …]
|
/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/ |
H A D | noise_distributions.h | 59 : dist_(min, max_exclusive) {} in NoiseUniform() 60 std::string Name() const { return "Uniform" + ToString(dist_.b()); } in Name() 64 return in + dist_(*rng); in operator() 68 mutable std::uniform_real_distribution<float> dist_; 74 explicit NoiseGaussian(const float stddev) : dist_(0.0f, stddev) {} in NoiseGaussian() 79 return in + dist_(*rng); in operator() 83 mutable std::normal_distribution<float> dist_; 89 explicit NoisePoisson(const double mean) : dist_(mean) {} in NoisePoisson() 90 std::string Name() const { return "Poisson" + ToString(dist_.mean()); } in Name() 94 return in + dist_(*rng) * 1E-3f; in operator() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | noise_distributions.h | 59 : dist_(min, max_exclusive) {} in NoiseUniform() 60 std::string Name() const { return "Uniform" + ToString(dist_.b()); } in Name() 64 return in + dist_(*rng); in operator() 68 mutable std::uniform_real_distribution<float> dist_; 74 explicit NoiseGaussian(const float stddev) : dist_(0.0f, stddev) {} in NoiseGaussian() 79 return in + dist_(*rng); in operator() 83 mutable std::normal_distribution<float> dist_; 89 explicit NoisePoisson(const double mean) : dist_(mean) {} in NoisePoisson() 90 std::string Name() const { return "Poisson" + ToString(dist_.mean()); } in Name() 94 return in + dist_(*rng) * 1E-3f; in operator() [all …]
|