axpy

Function axpy 

Source
pub fn axpy<D, S, A, Op>(
    dest: &mut StridedViewMut<'_, D>,
    src: &StridedView<'_, S, Op>,
    alpha: A,
) -> Result<()>
where A: Copy + Mul<S, Output = D> + MaybeSync, D: Copy + Add<D, Output = D> + MaybeSendSync, S: Copy + MaybeSendSync, Op: ElementOp<S>,
Expand description

AXPY: dest[i] = alpha * src[i] + dest[i].

Alpha, source, and destination may have different element types.