pub fn simd_batch_squared_distances(
query_point: &ArrayView1<'_, f64>,
data_points: &ArrayView2<'_, f64>,
) -> SpatialResult<Array1<f64>>Expand description
SIMD-accelerated batch distance computation for KD-Tree queries
Computes squared distances from a query point to multiple data points. Used for efficient k-NN search in KD-Trees.
§Arguments
query_point- Query pointdata_points- Matrix of data points (n_points x n_dims)
§Returns
- Array of squared distances
§Errors
Returns error if dimensions don’t match