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