pub fn rsub_scalar<T>(src: &[T], scalar: T, dst: &mut [T])
Expand description
Subtracts each element in src
from a scalar value, storing the results in dst
.
All slices must have the same length.
ยงPanics
This method panics if the slices have different lengths.