pub fn parallel_axpy<T>(
a: T,
x: &[T],
y: &mut [T],
options: Option<ParallelVectorOptions>,
)
Expand description
Parallel AXPY operation: y = a*x + y
Computes the AXPY operation (scalar times vector plus vector) using parallel processing when beneficial.
§Arguments
a
- Scalar multiplierx
- Input vector to be scaledy
- Input/output vector (will be modified in place)options
- Optional configuration (uses default if None)
§Panics
Panics if vectors have different lengths