Home
last modified time | relevance | path

Searched refs:max_dist (Results 1 – 25 of 1297) sorted by relevance

12345678910>>...52

/dports/science/py-abipy/abipy-0.9.0/abipy/dfpt/
H A Difc.py154 (self.distances < max_dist if max_dist is not None else True) &
175 … neighbour_element=neighbour_element, min_dist=min_dist, max_dist=max_dist)
196 … neighbour_element=neighbour_element, min_dist=min_dist, max_dist=max_dist)
201 max_dist=None, ax=None, **kwargs): argument
222 … neighbour_element=neighbour_element, min_dist=min_dist, max_dist=max_dist)
239 max_dist=None, ax=None, **kwargs): argument
258 … neighbour_element=neighbour_element, min_dist=min_dist, max_dist=max_dist, ax=ax, **kwargs)
262 min_dist=None, max_dist=None, ax=None, **kwargs): argument
285 max_dist=max_dist, ax=ax, **kwargs)
289 min_dist=None, max_dist=None, ax=None, **kwargs): argument
[all …]
/dports/games/el/Eternal-Lands-1.9.5.9-1/map_editor/
H A Dlights.c113 float max_dist=0; in update_scene_lights() local
143 max_dist=0; in update_scene_lights()
201 if(dist>max_dist) in update_scene_lights()
203 max_dist=dist; in update_scene_lights()
223 if(dist>max_dist) in update_scene_lights()
225 max_dist=dist; in update_scene_lights()
247 max_dist=dist; in update_scene_lights()
269 max_dist=dist; in update_scene_lights()
291 max_dist=dist; in update_scene_lights()
313 max_dist=dist; in update_scene_lights()
[all …]
/dports/science/py-oddt/oddt-0.7/oddt/
H A Dsurface.py121 def find_surface_residues(molecule, max_dist=None, scaling=1.): argument
158 if max_dist is None:
159 max_dist = atom_dict['radius']
162 elif isinstance(max_dist, Number):
163 max_dist = np.repeat(max_dist, coords.shape[0])
165 max_dist = np.array(max_dist)
166 if not np.issubdtype(max_dist.dtype, np.number):
169 if coords.shape[0] != len(max_dist):
179 for point, radius in zip(coords, max_dist)]
/dports/math/fplll/fplll-5.4.1/tests/
H A Dtest_enum.cpp33 FP_NR<FT> max_dist; in test_enum() local
34 M.get_r(max_dist, 0, 0); in test_enum()
35 max_dist *= 0.99; in test_enum()
36 enum_obj.enumerate(0, d, max_dist, 0); in test_enum()
69 FP_NR<FT> max_dist; in test_callback_enum() local
70 M.get_r(max_dist, 0, 0); in test_callback_enum()
71 max_dist *= 0.99; in test_callback_enum()
72 enum_obj.enumerate(0, d, max_dist, 0); in test_callback_enum()
/dports/devel/boost-docs/boost_1_72_0/boost/python/
H A Dslice.hpp122 difference_type max_dist = std::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/devel/R-cran-BH/BH/inst/include/boost/python/
H A Dslice.hpp122 difference_type max_dist = std::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/games/frogatto/frogatto-1.3.1/MacOSJet/boost/include/boost/python/
H A Dslice.hpp122 difference_type max_dist = boost::detail::distance(begin, end); in get_indicies() local
151 if (i >= max_dist && ret.step > 0) in get_indicies()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indicies()
159 if (i < -max_dist && ret.step < 0) in get_indicies()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indicies()
182 if (i+1 >= max_dist || i == -1) in get_indicies()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indicies()
195 if (i == 0 || -i >= max_dist) in get_indicies()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indicies()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dpoint.cpp78 std::vector<tripoint> closest_points_first( const tripoint &center, int max_dist ) in closest_points_first() argument
80 return closest_points_first( center, 0, max_dist ); in closest_points_first()
83 std::vector<tripoint> closest_points_first( const tripoint &center, int min_dist, int max_dist ) in closest_points_first() argument
85 const std::vector<point> points = closest_points_first( center.xy(), min_dist, max_dist ); in closest_points_first()
97 std::vector<point> closest_points_first( const point &center, int max_dist ) in closest_points_first() argument
99 return closest_points_first( center, 0, max_dist ); in closest_points_first()
102 std::vector<point> closest_points_first( const point &center, int min_dist, int max_dist ) in closest_points_first() argument
105 max_dist = std::max( max_dist, 0 ); in closest_points_first()
107 if( min_dist > max_dist ) { in closest_points_first()
112 const int max_edge = max_dist * 2 + 1; in closest_points_first()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dpoint.cpp78 std::vector<tripoint> closest_points_first( const tripoint &center, int max_dist ) in closest_points_first() argument
80 return closest_points_first( center, 0, max_dist ); in closest_points_first()
83 std::vector<tripoint> closest_points_first( const tripoint &center, int min_dist, int max_dist ) in closest_points_first() argument
85 const std::vector<point> points = closest_points_first( center.xy(), min_dist, max_dist ); in closest_points_first()
97 std::vector<point> closest_points_first( const point &center, int max_dist ) in closest_points_first() argument
99 return closest_points_first( center, 0, max_dist ); in closest_points_first()
102 std::vector<point> closest_points_first( const point &center, int min_dist, int max_dist ) in closest_points_first() argument
105 max_dist = std::max( max_dist, 0 ); in closest_points_first()
107 if( min_dist > max_dist ) { in closest_points_first()
112 const int max_edge = max_dist * 2 + 1; in closest_points_first()
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/boost/python/
H A Dslice.hpp122 difference_type max_dist = boost::detail::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/python/
H A Dslice.hpp122 difference_type max_dist = std::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/python/
H A Dslice.hpp122 difference_type max_dist = std::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/databases/xtrabackup/boost_1_59_0/boost/python/
H A Dslice.hpp122 difference_type max_dist = boost::detail::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/databases/percona57-server/boost_1_59_0/boost/python/
H A Dslice.hpp122 difference_type max_dist = boost::detail::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/databases/percona57-client/boost_1_59_0/boost/python/
H A Dslice.hpp122 difference_type max_dist = boost::detail::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/boost-for-react-native/boost/python/
H A Dslice.hpp122 difference_type max_dist = std::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/devel/boost-libs/boost_1_72_0/boost/python/
H A Dslice.hpp122 difference_type max_dist = std::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/devel/boost-python-libs/boost_1_72_0/boost/python/
H A Dslice.hpp122 difference_type max_dist = std::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/databases/mysqlwsrep57-server/boost_1_59_0/boost/python/
H A Dslice.hpp122 difference_type max_dist = boost::detail::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/databases/mysql57-client/mysql-5.7.36/boost/boost_1_59_0/boost/python/
H A Dslice.hpp122 difference_type max_dist = boost::detail::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/lib/boost_1.69.0/boost/python/
H A Dslice.hpp122 difference_type max_dist = std::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/devel/hyperscan/boost_1_75_0/boost/python/
H A Dslice.hpp122 difference_type max_dist = std::distance(begin, end); in get_indices() local
151 if (i >= max_dist && ret.step > 0) in get_indices()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indices()
159 if (i < -max_dist && ret.step < 0) in get_indices()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indices()
182 if (i+1 >= max_dist || i == -1) in get_indices()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indices()
195 if (i == 0 || -i >= max_dist) in get_indices()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indices()
/dports/biology/lamarc/lamarc-2.1.8/boost/python/
H A Dslice.hpp122 difference_type max_dist = boost::detail::distance(begin, end); in get_indicies() local
151 if (i >= max_dist && ret.step > 0) in get_indicies()
156 std::advance( ret.start, min BOOST_PREVENT_MACRO_SUBSTITUTION(i, max_dist-1)); in get_indicies()
159 if (i < -max_dist && ret.step < 0) in get_indicies()
163 std::advance( ret.start, (-i < max_dist) ? i : -max_dist ); in get_indicies()
182 if (i+1 >= max_dist || i == -1) in get_indicies()
191 std::advance( ret.stop, (-i < max_dist) ? i : -max_dist); in get_indicies()
195 if (i == 0 || -i >= max_dist) in get_indicies()
200 std::advance( ret.stop, (std::min)( i-1, max_dist-1)); in get_indicies()
/dports/math/py-yt/yt-4.0.1/yt/tests/
H A Dtest_funcs.py91 assert_equal(levenshtein_distance("abcd", "", max_dist=0), 1)
92 assert_equal(levenshtein_distance("abcd", "", max_dist=3), 4)
93 assert_equal(levenshtein_distance("abcd", "", max_dist=10), 4)
94 assert_equal(levenshtein_distance("abcd", "", max_dist=1), 2)
95 assert_equal(levenshtein_distance("abcd", "a", max_dist=2), 3)
96 assert_equal(levenshtein_distance("abcd", "ad", max_dist=2), 2)
97 assert_equal(levenshtein_distance("abcd", "abd", max_dist=2), 1)
98 assert_equal(levenshtein_distance("abcd", "abcd", max_dist=2), 0)
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bvgl/
H A Dbvgl_k_nearest_neighbors_2d.h47 Type max_dist = std::numeric_limits<Type>::infinity()
55 Type max_dist = std::numeric_limits<Type>::infinity()
64 Type max_dist = std::numeric_limits<Type>::infinity()
78 Type max_dist = std::numeric_limits<Type>::infinity()
178 Type max_dist in knn_indices() argument
182 return this->knn_util(p, k, neighbor_locs, neighbor_indices, max_dist); in knn_indices()
191 Type max_dist in knn() argument
195 return this->knn_util(p, k, neighbor_locs, neighbor_indices, max_dist); in knn()
205 Type max_dist in knn() argument
239 Type max_dist in knn_util() argument
[all …]

12345678910>>...52