Function mul_inplace

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

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

ยงPanics

This method panics if the slices have different lengths.