batch_rbf_kernel_fast

Function batch_rbf_kernel_fast 

Source
pub unsafe fn batch_rbf_kernel_fast(
    x_matrix: &Array2<f64>,
    y_matrix: &Array2<f64>,
    gamma: f64,
    output: &mut Array2<f64>,
)
Expand description

Batch RBF kernel computation with unsafe optimizations

ยงSafety

  • All matrices must have compatible dimensions
  • gamma must be a valid positive f64