/dports/science/bagel/bagel-1.2.2/src/util/math/ |
H A D | comb.h | 38 std::array<size_t, max_*max_> c_; 42 …c_[ 0*max_+ 0] = 1ull; c_[ 1*max_+ 0] = 1ull; c_[ 1*max_+ 1]… in Comb() 43 …c_[ 2*max_+ 1] = 2ull; c_[ 2*max_+ 2] = 1ull; c_[ 3*max_+ 0]… in Comb() 44 …c_[ 3*max_+ 2] = 3ull; c_[ 3*max_+ 3] = 1ull; c_[ 4*max_+ 0]… in Comb() 45 …c_[ 4*max_+ 2] = 6ull; c_[ 4*max_+ 3] = 4ull; c_[ 4*max_+ 4]… in Comb() 46 …c_[ 5*max_+ 1] = 5ull; c_[ 5*max_+ 2] = 10ull; c_[ 5*max_+ 3]… in Comb() 47 …c_[ 5*max_+ 5] = 1ull; c_[ 6*max_+ 0] = 1ull; c_[ 6*max_+ 1]… in Comb() 48 …c_[ 6*max_+ 3] = 20ull; c_[ 6*max_+ 4] = 15ull; c_[ 6*max_+ 5]… in Comb() 49 …c_[ 7*max_+ 0] = 1ull; c_[ 7*max_+ 1] = 7ull; c_[ 7*max_+ 2]… in Comb() 50 …c_[ 7*max_+ 4] = 35ull; c_[ 7*max_+ 5] = 21ull; c_[ 7*max_+ 6]… in Comb() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Math/ |
H A D | BoundingBox.h | 56 max_(box.max_) in BoundingBox() 63 max_(Vector3(rect.max_, 0.0f)) in BoundingBox() 125 max_ = rhs.max_; 133 max_ = Vector3(rhs.max_, 0.0f); 211 if (box.max_.x_ > max_.x_) in Merge() 212 max_.x_ = box.max_.x_; in Merge() 213 if (box.max_.y_ > max_.y_) in Merge() 214 max_.y_ = box.max_.y_; in Merge() 215 if (box.max_.z_ > max_.z_) in Merge() 216 max_.z_ = box.max_.z_; in Merge() [all …]
|
H A D | Rect.h | 44 max_(max) in Rect() 72 max_(rect.max_) in Rect() 80 max_ = rhs.max_; 94 max_ = rect.max_; in Define() 130 if (rect.max_.x_ > max_.x_) in Merge() 131 max_.x_ = rect.max_.x_; in Merge() 132 if (rect.max_.y_ > max_.y_) in Merge() 133 max_.y_ = rect.max_.y_; in Merge() 176 …if (rect.max_.x_ < min_.x_ || rect.min_.x_ > max_.x_ || rect.max_.y_ < min_.y_ || rect.min_.y_ > m… in IsInside() 178 …else if (rect.min_.x_ < min_.x_ || rect.max_.x_ > max_.x_ || rect.min_.y_ < min_.y_ || rect.max_.y… in IsInside() [all …]
|
H A D | Rect.cpp | 43 sprintf(tempBuffer, "%g %g %g %g", min_.x_, min_.y_, max_.x_, max_.y_); in ToString() 58 if (rect.max_.x_ < max_.x_) in Clip() 59 max_.x_ = rect.max_.x_; in Clip() 62 if (rect.max_.y_ < max_.y_) in Clip() 63 max_.y_ = rect.max_.y_; in Clip() 65 if (min_.x_ > max_.x_ || min_.y_ > max_.y_) in Clip() 68 max_ = Vector2(-M_INFINITY, -M_INFINITY); in Clip()
|
H A D | BoundingBox.cpp | 98 if (box.max_.x_ < max_.x_) in Clip() 99 max_.x_ = box.max_.x_; in Clip() 102 if (box.max_.y_ < max_.y_) in Clip() 103 max_.y_ = box.max_.y_; in Clip() 106 if (box.max_.z_ < max_.z_) in Clip() 107 max_.z_ = box.max_.z_; in Clip() 109 if (min_.x_ > max_.x_ || min_.y_ > max_.y_ || min_.z_ > max_.z_) in Clip() 173 Vector3 projMax = max_; in Projected() 217 else if (center.x_ > max_.x_) in IsInside() 227 else if (center.y_ > max_.y_) in IsInside() [all …]
|
/dports/math/fcl05/fcl-0.5.0/include/fcl/BV/ |
H A D | AABB.h | 54 Vec3f max_; variable 72 max_(core.max_ + delta) in AABB() 99 …& (other.max_[0] <= max_[0]) && (other.min_[1] >= min_[1]) && (other.max_[1] <= max_[1]) && (other… in contain() 122 overlap_part.max_ = min(max_, other.max_); in overlap() 141 max_.lbound(p); 149 max_.lbound(other.max_); 163 return max_[0] - min_[0]; in width() 211 return min_.equal(other.min_) && max_.equal(other.max_); in equal() 218 max_ += delta; in expand() 226 max_ = max_ * ratio - core.max_; in expand() [all …]
|
/dports/math/fcl/fcl-0.7.0/include/fcl/math/bv/ |
H A D | AABB-inl.h | 70 max_(a.cwiseMax(b)) in AABB() 79 max_(core.max_ + delta) in AABB() 116 if ((max_.array() < other.max_.array()).any()) in contain() 143 overlap_part.max_ = max_.cwiseMin(other.max_); in overlap() 165 max_ = max_.cwiseMax(p); 174 max_ = max_.cwiseMax(other.max_); 190 return max_[0] - min_[0]; in width() 322 && max_.isApprox(other.max_, std::numeric_limits<S>::epsilon() * 100); in equal() 330 max_ += delta; in expand() 339 max_ = max_ * ratio - core.max_; in expand() [all …]
|
/dports/math/fcl05/fcl-0.5.0/src/broadphase/ |
H A D | hierarchy_tree.cpp | 49 Vec3f v = bv.min_ + bv.max_; in select() 50 Vec3f v1 = v - (bv1.min_ + bv1.max_); in select() 63 Vec3f v = bv.min_ + bv.max_; in select() 78 bv.max_ += marginv; in update() 79 if(vel[0] > 0) bv.max_[0] += vel[0]; in update() 81 if(vel[1] > 0) bv.max_[1] += vel[1]; in update() 83 if(vel[2] > 0) bv.max_[2] += vel[2]; in update() 84 else bv.max_[2] += vel[2]; in update() 99 else bv.max_[2] += vel[2]; in update() 112 Vec3f v = bv.min_ + bv.max_; in select() [all …]
|
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/tlx/tlx/math/ |
H A D | aggregate_min_max.hpp | 37 : min_(min), max_(max) { } in AggregateMinMax() 42 max_ = std::max(max_, value); in add() 50 const Type& max() const noexcept { return max_; } in max() 53 Type span() const noexcept { return max_ - min_; } in span() 59 void set_max(const Type& v) noexcept { max_ = v; } in set_max() 65 std::min(min_, a.min_), std::max(max_, a.max_)); in operator +() 71 max_ = std::max(max_, a.max_); in operator +=() 78 archive(min_, max_); in serialize() 86 Type max_ = std::numeric_limits<Type>::lowest(); member in tlx::AggregateMinMax
|
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/tlx/math/ |
H A D | aggregate_min_max.hpp | 37 : min_(min), max_(max) { } in AggregateMinMax() 42 max_ = std::max(max_, value); in add() 50 const Type& max() const noexcept { return max_; } in max() 53 Type span() const noexcept { return max_ - min_; } in span() 59 void set_max(const Type& v) noexcept { max_ = v; } in set_max() 65 std::min(min_, a.min_), std::max(max_, a.max_)); in operator +() 71 max_ = std::max(max_, a.max_); in operator +=() 78 archive(min_, max_); in serialize() 86 Type max_ = std::numeric_limits<Type>::lowest(); member in tlx::AggregateMinMax
|
/dports/graphics/panomatic/panomatic-0.9.4/vigra/include/vigra/ |
H A D | colorconversions.hxx | 298 : max_(max) in Get() 523 : max_(max) in Get() 686 : max_(max) in Get() 1776 : max_(max) in Get() 1852 : max_(max) in Get() 1947 : max_(max) in Get() 2023 : max_(max) in Get() 2118 : max_(max) in Get() 2194 : max_(max) in Get() 2279 : max_(max) in Get() [all …]
|
/dports/graphics/vigra/vigra-8acd73a/include/vigra/ |
H A D | colorconversions.hxx | 301 : max_(255.0) in RGB2RGBPrimeFunctor() 308 : max_(max) in RGB2RGBPrimeFunctor() 436 : max_(max) in RGB2sRGBFunctor() 689 : max_(max) in sRGB2RGBFunctor() 819 : max_(max) in RGB2XYZFunctor() 995 : max_(max) in XYZ2RGBFunctor() 2177 : max_(max) in RGBPrime2YPrimePbPrFunctor() 2259 : max_(max) in YPrimePbPr2RGBPrimeFunctor() 2360 : max_(max) in RGBPrime2YPrimeIQFunctor() 2442 : max_(max) in YPrimeIQ2RGBPrimeFunctor() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/boost/beast/core/impl/ |
H A D | flat_buffer.hpp | 106 , max_(other.max_) 125 max_ = other.max_; 135 max_ = other.max_; 157 , max_(other.max_) 174 , max_(other.max_) 190 , max_(other.max_) in basic_flat_buffer() 208 , max_(other.max_) 436 max_ = other.max_; in move_assign() 464 max_ = other.max_; in copy_assign() 476 max_ = other.max_; in copy_assign() [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/beast/core/impl/ |
H A D | flat_buffer.hpp | 106 , max_(other.max_) 125 max_ = other.max_; 135 max_ = other.max_; 157 , max_(other.max_) 174 , max_(other.max_) 190 , max_(other.max_) in basic_flat_buffer() 208 , max_(other.max_) 436 max_ = other.max_; in move_assign() 464 max_ = other.max_; in copy_assign() 476 max_ = other.max_; in copy_assign() [all …]
|
/dports/devel/R-cran-BH/BH/inst/include/boost/beast/core/impl/ |
H A D | flat_buffer.hpp | 106 , max_(other.max_) 125 max_ = other.max_; 135 max_ = other.max_; 157 , max_(other.max_) 174 , max_(other.max_) 190 , max_(other.max_) in basic_flat_buffer() 208 , max_(other.max_) 436 max_ = other.max_; in move_assign() 464 max_ = other.max_; in copy_assign() 476 max_ = other.max_; in copy_assign() [all …]
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/beast/core/impl/ |
H A D | flat_buffer.hpp | 106 , max_(other.max_) 125 max_ = other.max_; 135 max_ = other.max_; 157 , max_(other.max_) 174 , max_(other.max_) 190 , max_(other.max_) in basic_flat_buffer() 208 , max_(other.max_) 436 max_ = other.max_; in move_assign() 464 max_ = other.max_; in copy_assign() 476 max_ = other.max_; in copy_assign() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/boost/beast/core/impl/ |
H A D | flat_buffer.hpp | 106 , max_(other.max_) 125 max_ = other.max_; 137 max_ = other.max_; 159 , max_(other.max_) 176 , max_(other.max_) 192 , max_(other.max_) in basic_flat_buffer() 210 , max_(other.max_) 423 max_ = other.max_; in move_assign() 453 max_ = other.max_; in copy_assign() 465 max_ = other.max_; in copy_assign() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/boost/beast/core/impl/ |
H A D | flat_buffer.hpp | 106 , max_(other.max_) 125 max_ = other.max_; 137 max_ = other.max_; 159 , max_(other.max_) 176 , max_(other.max_) 192 , max_(other.max_) in basic_flat_buffer() 210 , max_(other.max_) 423 max_ = other.max_; in move_assign() 453 max_ = other.max_; in copy_assign() 465 max_ = other.max_; in copy_assign() [all …]
|
/dports/devel/boost-docs/boost_1_72_0/boost/beast/core/impl/ |
H A D | flat_buffer.hpp | 106 , max_(other.max_) 125 max_ = other.max_; 137 max_ = other.max_; 159 , max_(other.max_) 176 , max_(other.max_) 192 , max_(other.max_) in basic_flat_buffer() 210 , max_(other.max_) 423 max_ = other.max_; in move_assign() 453 max_ = other.max_; in copy_assign() 465 max_ = other.max_; in copy_assign() [all …]
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/magic_uv/op/ |
H A D | align_uv_cursor.py | 197 max_.x = max(max_.x, uv.x) 198 max_.y = max(max_.y, uv.y) 201 center = Vector(((max_.x + min_.x) / 2.0, (max_.y + min_.y) / 2.0)) 219 max_.x = max(max_.x, uv.x) 220 max_.y = max(max_.y, uv.y) 238 cy = max_.y 247 cy = max_.y 252 cx = max_.x 253 cy = max_.y 255 cx = max_.x [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vbl/ |
H A D | vbl_bounding_box.h | 66 min_[i] = max_[i] = point[i]; in update() 70 if (point[i] > max_[i]) max_[i] = point[i]; in update() 88 min_[xdim] <= x && x <= max_[xdim] && in inside() 89 min_[ydim] <= y && y <= max_[ydim]; in inside() 99 min_[xdim] <= x && x <= max_[xdim] && in inside() 101 min_[zdim] <= z && z <= max_[zdim]; in inside() 118 vol *= max_[i] - min_[i]; in volume() 128 inline T * max() { return max_; } in max() 133 … T const& ymax() const { assert(DIM_::value >= 2); return (DIM_::value >= 2) ? max_[1] : max_[0]; } in ymax() 135 … T const& zmax() const { assert(DIM_::value >= 3); return (DIM_::value >= 3) ? max_[2] : max_[0]; } in zmax() [all …]
|
/dports/devel/R-cran-Rcpp/Rcpp/inst/include/Rcpp/sugar/functions/ |
H A D | range.h | 36 min_ = max_ = obj[0] ; 37 if( Rcpp::traits::is_na<RTYPE>( min_ ) ) return Vector<RTYPE>::create( min_, max_ ) ; 42 … if( Rcpp::traits::is_na<RTYPE>( current ) ) return Vector<RTYPE>::create( min_, max_ ) ; 44 if( current > max_ ) max_ = current ; 47 return Vector<RTYPE>::create( min_, max_ ) ; 53 STORAGE min_, max_, current ; variable 65 min_ = max_ = obj[0] ; 71 if( current > max_ ) max_ = current ; 73 return Vector<RTYPE>::create( min_, max_ ) ; 79 STORAGE min_, max_, current ; variable
|
/dports/devel/py-deepdiff/deepdiff-5.6.0/deepdiff/ |
H A D | distance.py | 125 max_=self.cutoff_distance_for_pairs) 189 def _get_numbers_distance(num1, num2, max_=1): argument 205 divisor = (num1 + num2) / max_ 207 return max_ 211 return max_ # pragma: no cover 232 divisor = (num1 + num2) / max_ 234 return np.clip(np.absolute(result), 0, max_) 237 def _get_datetime_distance(date1, date2, max_): argument 241 def _get_date_distance(date1, date2, max_): argument 249 def _get_time_distance(time1, time2, max_): argument [all …]
|
/dports/games/trenchbroom/TrenchBroom-ed46601/lib/src/gmock/ |
H A D | gmock-cardinalities.cc | 54 max_(max >= min_ ? max : min_) { in BetweenCardinalityImpl() 75 virtual int ConservativeUpperBound() const { return max_; } in ConservativeUpperBound() 78 return min_ <= call_count && call_count <= max_ ; in IsSatisfiedByCallCount() 82 return call_count >= max_; in IsSaturatedByCallCount() 88 const int max_; member in testing::__anon9d79010c0111::BetweenCardinalityImpl 109 if (max_ == 0) { in DescribeTo() 111 } else if (max_ == INT_MAX) { in DescribeTo() 114 *os << "called at most " << FormatTimes(max_); in DescribeTo() 116 } else if (min_ == max_) { in DescribeTo() 118 } else if (max_ == INT_MAX) { in DescribeTo() [all …]
|
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/gmock/src/ |
H A D | gmock-cardinalities.cc | 54 max_(max >= min_ ? max : min_) { in BetweenCardinalityImpl() 75 virtual int ConservativeUpperBound() const { return max_; } in ConservativeUpperBound() 78 return min_ <= call_count && call_count <= max_ ; in IsSatisfiedByCallCount() 82 return call_count >= max_; in IsSaturatedByCallCount() 88 const int max_; member in testing::__anon14ff2bfc0111::BetweenCardinalityImpl 109 if (max_ == 0) { in DescribeTo() 111 } else if (max_ == INT_MAX) { in DescribeTo() 114 *os << "called at most " << FormatTimes(max_); in DescribeTo() 116 } else if (min_ == max_) { in DescribeTo() 118 } else if (max_ == INT_MAX) { in DescribeTo() [all …]
|