Skip to main content

mul

Function mul 

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

Element-wise multiplication: dest[i] *= src[i].

Source may have a different element type from destination.