pub fn parallel_vector_scale<T>(
a: T,
x: &[T],
y: &mut [T],
options: Option<ParallelVectorOptions>,
)Expand description
Parallel vector scaling: y = a*x
Computes element-wise vector scaling using parallel processing when beneficial.
§Arguments
a- Scalar multiplierx- Input vectory- Output vector (will be overwritten)options- Optional configuration (uses default if None)
§Panics
Panics if vectors have different lengths