div_scalar

Function div_scalar 

Source
pub fn div_scalar<T>(src: &[T], scalar: T, dst: &mut [T])
where T: Copy + Div<T, Output = T>,
Expand description

Divides each element in src by 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.