Skip to main content

mul

Function mul 

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

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

Source may have a different element type from destination.