Home
last modified time | relevance | path

Searched refs:bin_index (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/dports/math/py-or-tools/or-tools-9.2/ortools/constraint_solver/
H A Dpack.cc144 for (int bin_index = 0; bin_index <= bins_; ++bin_index) { in ClearAll() local
226 for (int bin_index = 0; bin_index < bins_; ++bin_index) { in InitialPropagate() local
230 bin_index, absl::StrJoin(forced_[bin_index], ", "), in InitialPropagate()
239 dims_[dim_index]->InitialPropagate(bin_index, forced_[bin_index], in InitialPropagate()
279 for (int bin_index = 0; bin_index < bins_; ++bin_index) { in Propagate() local
280 if (!removed_[bin_index].empty() || !forced_[bin_index].empty()) { in Propagate()
293 dims_[dim_index]->Propagate(bin_index, forced_[bin_index], in Propagate()
1393 for (int bin_index = 0; bin_index < bins_count_; ++bin_index) { in PropagateAll() local
1394 if (!used_.IsSet(bin_index) && candidates_[bin_index] > 0) { in PropagateAll()
1399 for (int bin_index = 0; bin_index < bins_count_; ++bin_index) { in PropagateAll() local
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/pro/tests/
H A Dtest_bvxm_illum_index_process.cxx95 idx = bin_index("eq_area",(180.0/8),0,2,0); in test_bvxm_illum_index_process()
98 idx = bin_index("eq_area",(180.0/8),90.0,2,0); in test_bvxm_illum_index_process()
109 idx = bin_index("eq_area",(90.0),0,2,0); in test_bvxm_illum_index_process()
112 idx = bin_index("eq_area",(90.0),90.0,2,0); in test_bvxm_illum_index_process()
115 idx = bin_index("eq_area",(90.0),180.0,2,0); in test_bvxm_illum_index_process()
118 idx = bin_index("eq_area",(90.0),270.0,2,0); in test_bvxm_illum_index_process()
123 idx = bin_index("eq_area",(180.0/8),0,2,2); in test_bvxm_illum_index_process()
137 idx = bin_index("eq_area",90.0,0,2,2); in test_bvxm_illum_index_process()
140 idx = bin_index("eq_area",90.0,90.0,2,2); in test_bvxm_illum_index_process()
143 idx = bin_index("eq_area",90.0,180.0,2,2); in test_bvxm_illum_index_process()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/recognition/src/
H A Dlinemod.cpp142 for (unsigned char bin_index = 0; bin_index < nr_bins; ++bin_index) in matchTemplates() local
178 for (std::size_t bin_index = 0; bin_index < nr_bins; ++bin_index) in matchTemplates() local
238 for (std::size_t bin_index = 0; bin_index < 8; ++bin_index) in matchTemplates() local
314 for (std::size_t bin_index = 0; bin_index < 8; ++bin_index) in matchTemplates() local
404 for (int bin_index = 0; bin_index < nr_bins; ++bin_index) in detectTemplates() local
464 for (std::size_t bin_index = 0; bin_index < nr_bins; ++bin_index) in detectTemplates() local
557 for (std::size_t bin_index = 0; bin_index < 8; ++bin_index) in detectTemplates() local
642 for (std::size_t bin_index = 0; bin_index < 8; ++bin_index) in detectTemplates() local
873 for (int bin_index = 0; bin_index < nr_bins; ++bin_index) in detectTemplatesSemiScaleInvariant() local
1028 for (std::size_t bin_index = 0; bin_index < 8; ++bin_index) in detectTemplatesSemiScaleInvariant() local
[all …]
/dports/databases/grass7/grass-7.8.6/raster/r.in.lidar/
H A Dpoint_binning.c30 int n = bin_index->num_nodes++; in new_node()
32 if (bin_index->num_nodes >= bin_index->max_nodes) { in new_node()
34 bin_index->nodes = G_realloc(bin_index->nodes, in new_node()
96 head_id = new_node(bin_index); in update_bin_index()
141 point_binning->bin_index = FALSE; in point_binning_set()
264 if (point_binning->bin_index) in point_binning_memory_test()
286 if (point_binning->bin_index) in point_binning_memory_test()
328 if (point_binning->bin_index) { in point_binning_allocate()
358 if (point_binning->bin_index) { in point_binning_free()
468 bin_index->nodes[bin_index->nodes[node_id].next].z) / 2; in write_median()
[all …]
H A Dpoint_binning.h45 int bin_index; member
73 int update_bin_index(struct BinIndex *bin_index, void *index_array,
79 void write_median(struct BinIndex *bin_index, void *raster_row,
82 void write_percentile(struct BinIndex *bin_index, void *raster_row,
85 void write_skewness(struct BinIndex *bin_index, void *raster_row,
88 void write_trimmean(struct BinIndex *bin_index, void *raster_row,
/dports/net/shadowsocks-libev/shadowsocks-libev-3.3.5/libcork/src/libcork/ds/
H A Dhash-table.c286 size_t bin_index; in cork_hash_table_get_entry_hash() local
297 bin_index = bin_index(table, hash); in cork_hash_table_get_entry_hash()
361 size_t bin_index; in cork_hash_table_get_or_create_hash() local
367 bin_index = bin_index(table, hash); in cork_hash_table_get_or_create_hash()
396 bin_index = bin_index(table, hash); in cork_hash_table_get_or_create_hash()
403 bin_index = bin_index(table, hash); in cork_hash_table_get_or_create_hash()
433 size_t bin_index; in cork_hash_table_put_hash() local
439 bin_index = bin_index(table, hash); in cork_hash_table_put_hash()
479 bin_index = bin_index(table, hash); in cork_hash_table_put_hash()
486 bin_index = bin_index(table, hash); in cork_hash_table_put_hash()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/recognition/include/pcl/recognition/
H A Dlinemod.h131 … operator() (const std::size_t bin_index, const std::size_t col_index, const std::size_t row_index) in operator()
133 return (maps_[bin_index][row_index*width_ + col_index]); in operator()
141 operator() (const std::size_t bin_index, const std::size_t index) in operator()
143 return (maps_[bin_index][index]); in operator()
150 operator() (const std::size_t bin_index) in operator()
152 return (maps_[bin_index]); in operator()
163 return (maps_[bin_index][row_index*width_ + col_index]); in operator()
171 operator() (const std::size_t bin_index, const std::size_t index) const in operator()
173 return (maps_[bin_index][index]); in operator()
180 operator() (const std::size_t bin_index) const in operator()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/pro/processes/
H A Dbvxm_create_mog_image_process.cxx61 auto bin_index = pro.get_input<unsigned>(i++);; in bvxm_create_mog_image_process() local
99 num_observations = world->num_observations<APM_MOG_GREY>(bin_index,scale_index); in bvxm_create_mog_image_process()
101 num_observations = world->num_observations<APM_MOG_MC_3_3>(bin_index,scale_index); in bvxm_create_mog_image_process()
103 num_observations = world->num_observations<APM_MOG_MC_4_3>(bin_index,scale_index); in bvxm_create_mog_image_process()
132 …good = mix_gaussian<APM_MOG_GREY>(world,mog_creation_method_,bin_index,scale_index,n_samples,obser… in bvxm_create_mog_image_process()
134 …good = mix_gaussian<APM_MOG_MC_3_3>(world,mog_creation_method_,bin_index,scale_index,n_samples,obs… in bvxm_create_mog_image_process()
136 …good = mix_gaussian<APM_MOG_MC_4_3>(world,mog_creation_method_, bin_index,scale_index,n_samples,ob… in bvxm_create_mog_image_process()
H A Dbvxm_render_expected_image_process.cxx69 auto bin_index = pro.get_input<unsigned>(i++); in bvxm_render_expected_image_process() local
93 …rld->expected_image<APM_MOG_GREY>(camera_metadata, expected_img, *mask_img, bin_index,scale_index); in bvxm_render_expected_image_process()
97 …result = world->expected_image<APM_MOG_RGB>(camera_metadata, expected_img, *mask_img, bin_index,sc… in bvxm_render_expected_image_process()
101 …d->expected_image<APM_MOG_MC_2_3>(camera_metadata, expected_img, *mask_img, bin_index,scale_index); in bvxm_render_expected_image_process()
105 …d->expected_image<APM_MOG_MC_3_3>(camera_metadata, expected_img, *mask_img, bin_index,scale_index); in bvxm_render_expected_image_process()
109 …d->expected_image<APM_MOG_MC_4_3>(camera_metadata, expected_img, *mask_img, bin_index,scale_index); in bvxm_render_expected_image_process()
118 …result = world->expected_image<FLOAT>(camera_metadata, expected_img, *mask_img, bin_index,scale_in… in bvxm_render_expected_image_process()
H A Dbvxm_detect_changes_process.cxx74 auto bin_index = pro.get_input<unsigned>(i++); in bvxm_detect_changes_process() local
101 …result = world->pixel_probability_density<APM_MOG_GREY>(observation,prob_map, mask, bin_index,scal… in bvxm_detect_changes_process()
103 …result = world->pixel_probability_density<APM_MOG_RGB>(observation,prob_map, mask, bin_index,scale… in bvxm_detect_changes_process()
112 …result = world->pixel_probability_density<APM_MOG_MC_2_3>(observation,prob_map, mask, bin_index,sc… in bvxm_detect_changes_process()
115 …result = world->pixel_probability_density<APM_MOG_MC_3_3>(observation,prob_map, mask, bin_index,sc… in bvxm_detect_changes_process()
124 …result = world->pixel_probability_density<APM_MOG_MC_4_3>(observation,prob_map, mask, bin_index,sc… in bvxm_detect_changes_process()
H A Dbvxm_create_mog_image_process.h38 unsigned bin_index, unsigned scale_index,unsigned n_samples, in mix_gaussian() argument
48 …done = world->mog_most_probable_image<APM_T>(observation, mog_image, bin_index,scale_index); break; in mix_gaussian()
50 …done = world->mixture_of_gaussians_image<APM_T>(observation, mog_image, bin_index,scale_index); br… in mix_gaussian()
52 …image_with_random_order_sampling<APM_T>(observation, n_samples, mog_image, bin_index, scale_index); in mix_gaussian()
H A Dbvxm_render_virtual_view_process.cxx72 auto bin_index = pro.get_input<unsigned>(i++); in bvxm_render_virtual_view_process() local
121 …irtual_view<APM_MOG_GREY>(obs_og,camera_virtual,virtual_img,*vis_prob_view, bin_index,scale_index); in bvxm_render_virtual_view_process()
124 …virtual_view<APM_MOG_RGB>(obs_og,camera_virtual,virtual_img,*vis_prob_view, bin_index,scale_index); in bvxm_render_virtual_view_process()
133 …tual_view<APM_MOG_MC_2_3>(obs_og,camera_virtual,virtual_img,*vis_prob_view, bin_index,scale_index); in bvxm_render_virtual_view_process()
142 …tual_view<APM_MOG_MC_3_3>(obs_og,camera_virtual,virtual_img,*vis_prob_view, bin_index,scale_index); in bvxm_render_virtual_view_process()
151 …tual_view<APM_MOG_MC_4_3>(obs_og,camera_virtual,virtual_img,*vis_prob_view, bin_index,scale_index); in bvxm_render_virtual_view_process()
H A Dbvxm_update_process.cxx70 auto bin_index = pro.get_input<unsigned>(i++); in bvxm_update_process() local
120 …result = world->update<APM_MOG_GREY>(observation, prob_map, mask, bin_index, scale, is_use_memory); in bvxm_update_process()
122 … result = world->update<APM_MOG_RGB>(observation, prob_map, mask, bin_index,scale, is_use_memory); in bvxm_update_process()
132 …result = world->update<APM_MOG_MC_3_3>(observation, prob_map, mask, bin_index,scale, is_use_memory… in bvxm_update_process()
135 …result = world->update<APM_MOG_MC_3_3>(observation, prob_map, mask, bin_index,scale, is_use_memory… in bvxm_update_process()
144 …result = world->update<APM_MOG_MC_4_3>(observation, prob_map, mask, bin_index,scale, is_use_memory… in bvxm_update_process()
/dports/multimedia/mlt7-qt5/mlt-7.0.1/src/modules/qt/
H A Dfilter_audiospectrum.cpp110 int bin_index = 0; in convert_fft_to_spectrum() local
118 bin_index ++; in convert_fft_to_spectrum()
121 for( spect_index = 0; spect_index < spect_bands && bin_index < bin_count; spect_index++ ) in convert_fft_to_spectrum()
128 if( bin_index == 0 ) in convert_fft_to_spectrum()
130 mag = bins[bin_index]; in convert_fft_to_spectrum()
134 double y0 = bins[bin_index - 1]; in convert_fft_to_spectrum()
135 double y1 = bins[bin_index]; in convert_fft_to_spectrum()
146 while( bin_freq < band_freq_hi && bin_index < bin_count ) in convert_fft_to_spectrum()
148 if( mag < bins[bin_index] ) in convert_fft_to_spectrum()
150 mag = bins[bin_index]; in convert_fft_to_spectrum()
[all …]
/dports/multimedia/mlt6/mlt-6.26.1/src/modules/qt/
H A Dfilter_audiospectrum.cpp111 int bin_index = 0; in convert_fft_to_spectrum() local
119 bin_index ++; in convert_fft_to_spectrum()
122 for( spect_index = 0; spect_index < spect_bands && bin_index < bin_count; spect_index++ ) in convert_fft_to_spectrum()
129 if( bin_index == 0 ) in convert_fft_to_spectrum()
131 mag = bins[bin_index]; in convert_fft_to_spectrum()
135 double y0 = bins[bin_index - 1]; in convert_fft_to_spectrum()
136 double y1 = bins[bin_index]; in convert_fft_to_spectrum()
147 while( bin_freq < band_freq_hi && bin_index < bin_count ) in convert_fft_to_spectrum()
149 if( mag < bins[bin_index] ) in convert_fft_to_spectrum()
151 mag = bins[bin_index]; in convert_fft_to_spectrum()
[all …]
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/modules/qt/
H A Dfilter_audiospectrum.cpp111 int bin_index = 0; in convert_fft_to_spectrum() local
119 bin_index ++; in convert_fft_to_spectrum()
122 for( spect_index = 0; spect_index < spect_bands && bin_index < bin_count; spect_index++ ) in convert_fft_to_spectrum()
129 if( bin_index == 0 ) in convert_fft_to_spectrum()
131 mag = bins[bin_index]; in convert_fft_to_spectrum()
135 double y0 = bins[bin_index - 1]; in convert_fft_to_spectrum()
136 double y1 = bins[bin_index]; in convert_fft_to_spectrum()
147 while( bin_freq < band_freq_hi && bin_index < bin_count ) in convert_fft_to_spectrum()
149 if( mag < bins[bin_index] ) in convert_fft_to_spectrum()
151 mag = bins[bin_index]; in convert_fft_to_spectrum()
[all …]
/dports/multimedia/mlt7/mlt-7.0.1/src/modules/qt/
H A Dfilter_audiospectrum.cpp110 int bin_index = 0; in convert_fft_to_spectrum() local
118 bin_index ++; in convert_fft_to_spectrum()
121 for( spect_index = 0; spect_index < spect_bands && bin_index < bin_count; spect_index++ ) in convert_fft_to_spectrum()
128 if( bin_index == 0 ) in convert_fft_to_spectrum()
130 mag = bins[bin_index]; in convert_fft_to_spectrum()
134 double y0 = bins[bin_index - 1]; in convert_fft_to_spectrum()
135 double y1 = bins[bin_index]; in convert_fft_to_spectrum()
146 while( bin_freq < band_freq_hi && bin_index < bin_count ) in convert_fft_to_spectrum()
148 if( mag < bins[bin_index] ) in convert_fft_to_spectrum()
150 mag = bins[bin_index]; in convert_fft_to_spectrum()
[all …]
/dports/multimedia/py-mlt6/mlt-6.26.1/src/modules/qt/
H A Dfilter_audiospectrum.cpp111 int bin_index = 0; in convert_fft_to_spectrum() local
119 bin_index ++; in convert_fft_to_spectrum()
122 for( spect_index = 0; spect_index < spect_bands && bin_index < bin_count; spect_index++ ) in convert_fft_to_spectrum()
129 if( bin_index == 0 ) in convert_fft_to_spectrum()
131 mag = bins[bin_index]; in convert_fft_to_spectrum()
135 double y0 = bins[bin_index - 1]; in convert_fft_to_spectrum()
136 double y1 = bins[bin_index]; in convert_fft_to_spectrum()
147 while( bin_freq < band_freq_hi && bin_index < bin_count ) in convert_fft_to_spectrum()
149 if( mag < bins[bin_index] ) in convert_fft_to_spectrum()
151 mag = bins[bin_index]; in convert_fft_to_spectrum()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/brad_pro/processes/
H A Dbrad_estimate_empty_process.cxx87 int bin_index = (int) std::floor(gradI*8); in brad_estimate_empty_process() local
88 bin_index = bin_index>7 ? 7:bin_index; in brad_estimate_empty_process()
89 temp_histogram[bin_index] += (float)std::min(vis[i],vis[index]); in brad_estimate_empty_process()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/volm/desc/
H A Dvolm_desc_ex.h99 …unsigned bin_index(double const& dist, depth_map_region::orientation const& orient, unsigned const…
100 unsigned bin_index(double const& dist, unsigned const& orient, unsigned const& land) const;
103 …unsigned bin_index(unsigned const& dist_idx, unsigned const& orient_idx, unsigned const& land_idx)…
106 unsigned bin_index(volm_object const& ob) const in bin_index() function
107 { return this->bin_index(ob.dist_, ob.orient_, ob.land_); } in bin_index()
H A Dvolm_desc_ex.cxx132 unsigned volm_desc_ex::bin_index(unsigned const& dist_idx, unsigned const& orient_idx, unsigned con… in bin_index() function in volm_desc_ex
153 unsigned volm_desc_ex::bin_index(double const& dist, depth_map_region::orientation const& orient, u… in bin_index() function in volm_desc_ex
157 return this->bin_index(dist_idx, (unsigned)orient, land); in bin_index()
160 unsigned volm_desc_ex::bin_index(double const& dist, unsigned const& orient, unsigned const& land) … in bin_index() function in volm_desc_ex
163 return this->bin_index(dist_idx, orient, land); in bin_index()
174 unsigned bin = this->bin_index(dist_idx, orient_idx, land_idx); in set_count()
181 unsigned bin = this->bin_index(dist, orient, land); in set_count()
188 unsigned bin = this->bin_index(dist, orient, land); in set_count()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/cpp/algo/
H A Dboxm2_compute_nonsurface_histogram_functor.h87 int bin_index = (int) std::floor(gradI*8); in process_cell() local
88 bin_index = bin_index>7 ? 7:bin_index; in process_cell()
89 temp_histogram[bin_index] += (vis[i]+vis[index])/2; in process_cell()
/dports/graphics/opencv/opencv-4.5.3/modules/dnn/src/cuda/
H A Ddetection_output.cu213 int bin_index = conf_scaled * BINS; in __launch_bounds__() local
223 bin_index = clamp<int>(bin_index, 0, BINS - 1) - 1; // shift left by one in __launch_bounds__()
225 if (bin_index >= 0) in __launch_bounds__()
226 atomicAdd(&bins[bin_index], 1); in __launch_bounds__()
312 int bin_index = conf_scaled * BINS; in __launch_bounds__() local
313 bin_index = clamp<int>(bin_index, 0, BINS - 1); in __launch_bounds__()
533 int bin_index = conf_scaled * BINS; in __launch_bounds__() local
534 bin_index = clamp<int>(bin_index, 0, BINS - 1) - 1; // shift left by one in __launch_bounds__()
536 if (bin_index >= 0) in __launch_bounds__()
537 atomicAdd(&bins[bin_index], 1); in __launch_bounds__()
[all …]
/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/measurements/
H A Dfermion_partitioning.py431 for bin_index in range(num_bins):
432 if bin_index < bin_index ^ bin_gap:
434 pair_between(binned_majoranas[bin_index],
435 binned_majoranas[bin_index ^ bin_gap]))
475 if index % 2**num_symmetries == bin_index
477 for bin_index in range(2**num_symmetries)]
/dports/misc/vxl/vxl-3.3.2/contrib/oxl/osl/internals/
H A Ddroid.cxx268 bin_index, in compute_corner_min() local
278 bin_index = (int) ((DR_BIN_COUNT-1) * corner_4throot / corner_max_4throot); in compute_corner_min()
279 bin_array [bin_index]++; in compute_corner_min()
285 bin_index = DR_BIN_COUNT-1; in compute_corner_min()
286 while ((corner_count < corner_count_max) && (bin_index > 0)) { in compute_corner_min()
287 corner_count += bin_array [bin_index]; in compute_corner_min()
288 bin_index--; in compute_corner_min()
294 bin_index += 2; in compute_corner_min()
296 return (float)std::pow ((double) bin_index / (double) (DR_BIN_COUNT-1) * corner_max_4throot, 4.0); in compute_corner_min()

12345678910>>...13