pub fn sub_inplace<T>(src1_dst: &mut [T], src2: &[T])
Expand description
Subtracts all values in src2
from src1_dst
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.