mul

Function mul 

Source
pub fn mul<T>(src1: &[T], src2: &[T], dst: &mut [T])
where T: Copy + Mul<T, Output = T>,
Expand description

Multiplies all values src1 and src2 element-wise and stores the results in dst. All slices must have the same length.

ยงPanics

This method panics if the slices have different lengths.