Skip to main content

axpy

Function axpy 

Source
pub fn axpy<T: SimdOps>(
    alpha: T,
    x: &[T],
    out: &mut [T],
) -> Result<(), SimdError>
Expand description

Fused row update out[i] += alpha * x[i] (AXPY) via runtime-dispatched SIMD with no temporary allocation. Errors on length mismatch.