add

Function add 

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

Element-wise addition: dest[i] += src[i].

Source may have a different element type from destination.