parallel_axpy

Function parallel_axpy 

Source
pub fn parallel_axpy<F>(
    alpha: F,
    x: &ArrayView1<'_, F>,
    y: &ArrayView1<'_, F>,
    config: &WorkerConfig,
) -> LinalgResult<Array1<F>>
where F: Float + Send + Sync + 'static,
Expand description

Parallel AXPY operation: y = a*x + y

Note: This function returns a new array rather than modifying in-place due to complications with parallel mutable iteration.