pub fn negate<T>(src: &[T], dst: &mut [T])where T: Copy + Neg<Output = T>,
Negates each value in src and stores the results in dst. Both slices must have the same length.
src
dst
This method panics if the slices have different lengths.