unzip: Reorganizes the data by de-interleaving: it takes every K-th byte for each of output Bytes, where K is the number of output Bytes and N is the size of each output Bytes.
unzip
K-th
K
N
Opposite of lace.
lace
Input: [a0, b0, c0, a1, b1, c1], n = 2, k = 3
Output: [[a0, a1], [b0, b1], [c0, c1]]
https://graypaper.fluffylabs.dev/#/9a08063/3e06023e0602?v=0.6.6
unzip: Reorganizes the data by de-interleaving: it takes everyK-thbyte for each of output Bytes, whereKis the number of output Bytes andNis the size of each output Bytes.Opposite of
lace.Input: [a0, b0, c0, a1, b1, c1], n = 2, k = 3
Output: [[a0, a1], [b0, b1], [c0, c1]]
https://graypaper.fluffylabs.dev/#/9a08063/3e06023e0602?v=0.6.6