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 out
put array.
§Errors
Errors with
FixedOffsetScaleCodecError::MismatchedDecodeIntoArray
if thedata
array’s shape does not match theout
put array’s shape