Function numcodecs_linear_quantize::reconstruct_into

source ·
pub fn reconstruct_into<T: Float + DeserializeOwned, Q: Unsigned>(
    encoded: &[Q],
    decoded: ArrayViewMutD<'_, T>,
    floatify: impl Fn(Q) -> T,
) -> Result<(), LinearQuantizeCodecError>
Expand description

Reconstruct the linear-quantized encoded array using the floatify closure into the decoded array.

§Errors

Errors with