pub fn nearest_k_spatial_tensor_parallel_into<I: ChunkedNearestNeighborIndex + Sync>(
index: &I,
x: &[f32],
y: &[f32],
z: &[f32],
tensor: &SpatialTensor<'_>,
k: usize,
out: &mut Vec<(usize, Neighbor)>,
)Expand description
Parallel k-NN search, appending (query_index, neighbor) pairs to out.
Uses the same worker bounds and ordered append contract as
radius_search_spatial_tensor_parallel_into. Empty input or k == 0
leaves out untouched.