numcodecs_swizzle_reshape

Function undo_swizzle_reshape_into

Source
pub fn undo_swizzle_reshape_into<T: Copy>(
    encoded: ArrayView<'_, T, IxDyn>,
    decoded: ArrayViewMut<'_, T, IxDyn>,
    axes: &[AxisGroup],
) -> Result<(), SwizzleReshapeCodecError>
Expand description

Reverts the swizzle and reshape of the encoded array with the axes and outputs it into the decoded array.

§Errors

Errors with