numcodecs_fixed_offset_scale

Function unscale_into

Source
pub fn unscale_into<T: Float, D: Dimension>(
    data: ArrayView<'_, T, D>,
    out: ArrayViewMut<'_, T, D>,
    offset: T,
    scale: T,
) -> Result<(), FixedOffsetScaleCodecError>
Expand description

Compute (x*s) + o over the elements of the input data array and write them into the output array.

§Errors

Errors with