numcodecs_fixed_offset_scale

Function unscale

Source
pub fn unscale<T: Float, S: Data<Elem = T>, D: Dimension>(
    data: ArrayBase<S, D>,
    offset: T,
    scale: T,
) -> Array<T, D>
Expand description

Compute (x*s) + o over the elements of the input data array.