pub fn scale<T: Float, S: Data<Elem = T>, D: Dimension>( data: ArrayBase<S, D>, offset: T, scale: T, ) -> Array<T, D>
Compute (x-o) / s over the elements of the input data array.
(x-o) / s
data