pub fn parallel_dot<T>(
x: &[T],
y: &[T],
options: Option<ParallelVectorOptions>,
) -> T
Expand description
Parallel and SIMD accelerated dot product
Computes the dot product x^T * y using parallel processing and SIMD acceleration when beneficial.
§Arguments
x
- First vectory
- Second vectoroptions
- Optional configuration (uses default if None)
§Returns
The dot product sum(x[i] * y[i])
§Panics
Panics if vectors have different lengths