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